setup: phpstan level 1

This commit is contained in:
odain
2026-01-13 16:11:34 +01:00
committed by Eric Espie
parent 5b4030a95f
commit f7dfeafa3f
7 changed files with 27 additions and 28 deletions

View File

@@ -107,7 +107,9 @@ class PHPParameters extends Parameters
{
if ($this->aData == null) {
require_once($sParametersFile);
$this->aData = $ITOP_PARAMS; // Defined in the file loaded just above
if (isset($ITOP_PARAMS)) {
$this->aData = $ITOP_PARAMS; // Defined in the file loaded just above
}
}
}
}