Passed
Push — main ( f45909...5076ab )
by mohsen
02:51 queued 36s
created
src/Services/WebServer.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,10 +8,11 @@
 block discarded – undo
8 8
 
9 9
     public function check(): string
10 10
     {
11
-        if (config('stethoscope.web_server_name') == 'nginx')
12
-            $this->checkNginx();
13
-        elseif (config('stethoscope.web_server_name') == 'apache')
14
-            $this->checkApache();
11
+        if (config('stethoscope.web_server_name') == 'nginx') {
12
+                    $this->checkNginx();
13
+        } elseif (config('stethoscope.web_server_name') == 'apache') {
14
+                    $this->checkApache();
15
+        }
15 16
 
16 17
         return $this->webServerStatuses;
17 18
     }
Please login to merge, or discard this patch.
config/stethoscope.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     */
82 82
 
83 83
     'drivers' => [
84
-        'log_record' => env('STETHOSCOPE_LOG_FILE'  ,'file')
84
+        'log_record' => env('STETHOSCOPE_LOG_FILE', 'file')
85 85
     ],
86 86
 
87 87
 ];
Please login to merge, or discard this patch.