Fixed phpstan issues

This commit is contained in:
Jan Böhmer 2026-02-02 23:26:18 +01:00
parent a755287c3b
commit cad5261aba
6 changed files with 11 additions and 10 deletions

View file

@ -106,7 +106,7 @@ class MaintenanceModeCommand extends Command
if ($enable) {
// Use provided message or fallback to a default English message
$reason = is_string($message) && $message !== ''
$reason = is_string($message)
? $message
: 'The system is temporarily unavailable due to maintenance.';