Loader: Define variable $first in method scope
This commit is contained in:
parent
53b9774874
commit
dbc8579747
|
@ -188,6 +188,7 @@ class Loader
|
||||||
$params = $this->app->getParams();
|
$params = $this->app->getParams();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$first = null;
|
||||||
if ($this->moduleName === null) {
|
if ($this->moduleName === null) {
|
||||||
$first = $params->shift();
|
$first = $params->shift();
|
||||||
if (! $first) {
|
if (! $first) {
|
||||||
|
|
Loading…
Reference in New Issue