diff --git a/lam/templates/setInitialPassword.php b/lam/templates/setInitialPassword.php index 310473a86..2a85b4b09 100644 --- a/lam/templates/setInitialPassword.php +++ b/lam/templates/setInitialPassword.php @@ -111,7 +111,7 @@ printContent($message); * @param htmlStatusMessage|null $message status message * @param bool $showPasswordInputs show password input fields */ -function printContent(htmlStatusMessage $message = null, bool $showPasswordInputs = true): void { +function printContent(?htmlStatusMessage $message = null, bool $showPasswordInputs = true): void { echo ' diff --git a/phpstan.neon b/phpstan.neon index bfe591aef..7478ca1c2 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -8,6 +8,7 @@ parameters: - lam/templates fileExtensions: - php + - lib excludePaths: analyseAndScan: - */3rdParty/*