Completed
Push — master ( b55014...d2ffcb )
by Robin
03:16
created
src/Http/Controllers/CrawlLogController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
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
Please login to merge, or discard this patch.