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

@@ -140,7 +140,8 @@ SQL;
}
SetupLog::Info(__METHOD__, null, ["product_name" => $aResult['product_name'], "product_version" => $aResult['product_version']]);
return empty($aResult) ? false : $aResult;
return count($aResult) == 0 ? false : $aResult;
}
private function ComputeInstalledModules(array $aSelectInstall): array