Completed
Push — master ( fc01ce...41e3dd )
by Robin
07:00 queued 04:56
created
src/RequestLogger.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@  discard block
 block discarded – undo
17 17
 
18 18
         $folder = storage_path($base_path);
19 19
 
20
-        if (! File::exists($folder)) {
20
+        if (!File::exists($folder)) {
21 21
             $result = File::makeDirectory($folder);
22 22
 
23
-            if (! $result) {
23
+            if (!$result) {
24 24
                 throw new \Exception('Cannot create folder in storage path.');
25 25
             }
26 26
         }
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $file = storage_path($base_path.'/'.$date_folder.'/'.$type.'.log');
30 30
 
31 31
         $write_check = File::put($file, $data);
32
-        if (! $write_check) {
32
+        if (!$write_check) {
33 33
             throw new \Exception('Cannot write content to file.');
34 34
         }
35 35
 
Please login to merge, or discard this patch.