phpstan support

This commit is contained in:
hakutaku
2025-09-23 16:41:26 +03:00
parent 97441b9662
commit 8620dbff27
10 changed files with 91 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ class RrCommand extends Command
'command' => $serviceGroupName,
'memory' => $serviceInstance['memory_usage'],
'error' => $serviceInstance['error']
'error' => !empty($serviceInstance['error'])
? $serviceInstance['error']['message']
: null,
];