mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 02:34:54 +02:00
phpstan: level 1 passed
This commit is contained in:
@@ -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])){
|
||||
|
Reference in New Issue
Block a user