@@ -138,7 +138,7 @@ |
||
138 | 138 | $logSize = filesize($logFile); |
139 | 139 | } |
140 | 140 | if (isset($errorFile) && file_exists($errorFile)) { |
141 | - $lastRunTime = max($lastRunTime ? : 0, filemtime($errorFile)); |
|
141 | + $lastRunTime = max($lastRunTime ?: 0, filemtime($errorFile)); |
|
142 | 142 | $errorSize = filesize($errorFile); |
143 | 143 | } |
144 | 144 |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | // parsing cron file |
35 | 35 | $process = new Process('crontab -l'); |
36 | 36 | $process->run(); |
37 | - $lines = array_filter(explode(PHP_EOL, $process->getOutput()), function ($line) { |
|
37 | + $lines = array_filter(explode(PHP_EOL, $process->getOutput()), function($line) { |
|
38 | 38 | return '' != trim($line); |
39 | 39 | }); |
40 | 40 | |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | public function get() |
62 | 62 | { |
63 | - return array_filter($this->lines, function ($line) { |
|
63 | + return array_filter($this->lines, function($line) { |
|
64 | 64 | return $line instanceof Cron; |
65 | 65 | }); |
66 | 66 | } |