@@ -17,10 +17,10 @@ discard block |
||
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 |
||
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 |