We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | { |
44 | 44 | $routeFilePath = base_path($this->option('route-file')); |
45 | 45 | |
46 | - if (! file_exists($routeFilePath)) { |
|
46 | + if (!file_exists($routeFilePath)) { |
|
47 | 47 | if ($routeFilePath !== base_path($this->backpackCustomRouteFile)) { |
48 | 48 | $this->info('The route file <fg=blue>'.$routeFilePath.'</> does not exist. Please create it first.'); |
49 | 49 | return 1; |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | |
99 | 99 | private function cleanContentArray(array $content) |
100 | 100 | { |
101 | - return array_filter(array_map(function ($line) { |
|
101 | + return array_filter(array_map(function($line) { |
|
102 | 102 | $lineText = trim($line); |
103 | 103 | if ($lineText === '' || |
104 | 104 | $lineText === '\n' || |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | */ |
132 | 132 | private function getLastLineNumberThatContains($needle, $haystack) |
133 | 133 | { |
134 | - $matchingLines = array_filter($haystack, function ($k) use ($needle) { |
|
134 | + $matchingLines = array_filter($haystack, function($k) use ($needle) { |
|
135 | 135 | return strpos($k, $needle) !== false; |
136 | 136 | }); |
137 | 137 |