phpstan: level 1 passed

This commit is contained in:
slawkens
2024-01-31 00:36:15 +01:00
parent cc3e66cacb
commit a2c8e2b2ae
10 changed files with 23 additions and 16 deletions

View File

@@ -47,7 +47,7 @@ class CronjobInstallCommand extends Command
{
exec('crontab -l', $crontab);
if(isset($crontab) && is_array($crontab)) {
if(is_array($crontab)) {
$crontab = array_flip($crontab);
if(isset($crontab[$command])){