Loader: Define variable $first in method scope

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 09:15:33 +02:00 committed by raviks789
parent 53b9774874
commit dbc8579747
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ class Loader
$params = $this->app->getParams();
}
$first = null;
if ($this->moduleName === null) {
$first = $params->shift();
if (! $first) {