We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -15,7 +15,7 @@ |
||
15 | 15 | (array) config('backpack.base.middleware_key', 'admin') |
16 | 16 | ), |
17 | 17 | 'namespace' => 'App\Http\Controllers\Admin', |
18 | -], function () { // custom admin routes |
|
18 | +], function() { // custom admin routes |
|
19 | 19 | }); // this should be the absolute last line of this file |
20 | 20 | |
21 | 21 | /** |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | { |
44 | 44 | $routeFilePath = base_path($this->option('route-file')); |
45 | 45 | // check if the file exists |
46 | - if (! file_exists($routeFilePath)) { |
|
46 | + if (!file_exists($routeFilePath)) { |
|
47 | 47 | $this->line("The route file <fg=blue>$routeFilePath</> does not exist."); |
48 | 48 | $createRouteFile = $this->confirm('Should we create the file in <fg=blue>'.$routeFilePath.'</> ?', 'yes'); |
49 | 49 | if ($createRouteFile) { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | |
94 | 94 | private function cleanContentArray(array $content) |
95 | 95 | { |
96 | - return array_filter(array_map(function ($line) { |
|
96 | + return array_filter(array_map(function($line) { |
|
97 | 97 | $lineText = trim($line); |
98 | 98 | if ($lineText === '' || |
99 | 99 | $lineText === '\n' || |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | */ |
127 | 127 | private function getLastLineNumberThatContains($needle, $haystack) |
128 | 128 | { |
129 | - $matchingLines = array_filter($haystack, function ($k) use ($needle) { |
|
129 | + $matchingLines = array_filter($haystack, function($k) use ($needle) { |
|
130 | 130 | return strpos($k, $needle) !== false; |
131 | 131 | }); |
132 | 132 |