@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | { |
18 | 18 | $logDirectory = storage_path('logs'); |
19 | 19 | |
20 | - if (! $path = $this->findLatestLogFile($logDirectory)) { |
|
20 | + if (!$path = $this->findLatestLogFile($logDirectory)) { |
|
21 | 21 | $this->warn("Could not find a log file in `{$logDirectory}`."); |
22 | 22 | |
23 | 23 | return; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | (new Process($tailCommand)) |
33 | 33 | ->setTimeout(null) |
34 | - ->run(function ($type, $line) { |
|
34 | + ->run(function($type, $line) { |
|
35 | 35 | $this->handleClearOption(); |
36 | 36 | |
37 | 37 | $this->output->write($line); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | protected function findLatestLogFile(string $directory) |
42 | 42 | { |
43 | 43 | $logFile = collect(File::allFiles($directory)) |
44 | - ->sortByDesc(function (SplFileInfo $file) { |
|
44 | + ->sortByDesc(function(SplFileInfo $file) { |
|
45 | 45 | return $file->getMTime(); |
46 | 46 | }) |
47 | 47 | ->first(); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | protected function handleClearOption() |
55 | 55 | { |
56 | - if (! $this->option('clear')) { |
|
56 | + if (!$this->option('clear')) { |
|
57 | 57 | return; |
58 | 58 | } |
59 | 59 |