@@ -13,11 +13,11 @@ |
||
13 | 13 | $enabled = false; |
14 | 14 | $config = config('laravel-job-handler.clear-log-after-seconds', null); |
15 | 15 | |
16 | - if(!is_null($config)) { |
|
16 | + if (!is_null($config)) { |
|
17 | 17 | $enabled = true; |
18 | 18 | } |
19 | 19 | |
20 | - if($enabled) { |
|
20 | + if ($enabled) { |
|
21 | 21 | $this->clearAllLogsBefore(Carbon::now()->subSeconds($config)); |
22 | 22 | } else { |
23 | 23 | //deleting of old logs is disabled |