mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-12 20:49:35 +00:00
Fixed phpstan issues
This commit is contained in:
parent
a755287c3b
commit
cad5261aba
6 changed files with 11 additions and 10 deletions
|
|
@ -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.';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue