@@ -8,10 +8,11 @@ |
||
| 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 | } |
@@ -81,7 +81,7 @@ |
||
| 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 | ]; |