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 | |
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 | |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | |
101 | 101 | private function cleanContentArray(array $content) |
102 | 102 | { |
103 | - return array_filter(array_map(function ($line) { |
|
103 | + return array_filter(array_map(function($line) { |
|
104 | 104 | $lineText = trim($line); |
105 | 105 | if ($lineText === '' || |
106 | 106 | $lineText === '\n' || |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | */ |
134 | 134 | private function getLastLineNumberThatContains($needle, $haystack) |
135 | 135 | { |
136 | - $matchingLines = array_filter($haystack, function ($k) use ($needle) { |
|
136 | + $matchingLines = array_filter($haystack, function($k) use ($needle) { |
|
137 | 137 | return strpos($k, $needle) !== false; |
138 | 138 | }); |
139 | 139 |