We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | public static function addFor(string $domain, $viewNamespaces) |
30 | 30 | { |
31 | 31 | foreach ((array) $viewNamespaces as $viewNamespace) { |
32 | - if (! in_array($viewNamespace, self::getForDomain($domain))) { |
|
32 | + if (!in_array($viewNamespace, self::getForDomain($domain))) { |
|
33 | 33 | self::$viewNamespaces[$domain][] = $viewNamespace; |
34 | 34 | } |
35 | 35 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | */ |
84 | 84 | public static function getViewPathsFor(string $domain, string $viewName) |
85 | 85 | { |
86 | - return array_map(function ($item) use ($viewName) { |
|
86 | + return array_map(function($item) use ($viewName) { |
|
87 | 87 | return $item.'.'.$viewName; |
88 | 88 | }, self::getFor($domain)); |
89 | 89 | } |
@@ -62,20 +62,20 @@ discard block |
||
62 | 62 | include_once __DIR__.'/macros.php'; |
63 | 63 | |
64 | 64 | // Bind the CrudPanel object to Laravel's service container |
65 | - $this->app->scoped('crud', function ($app) { |
|
65 | + $this->app->scoped('crud', function($app) { |
|
66 | 66 | return new CrudPanel(); |
67 | 67 | }); |
68 | 68 | |
69 | - $this->app->scoped('DatabaseSchema', function ($app) { |
|
69 | + $this->app->scoped('DatabaseSchema', function($app) { |
|
70 | 70 | return new DatabaseSchema(); |
71 | 71 | }); |
72 | 72 | |
73 | - $this->app->singleton('BackpackViewNamespaces', function ($app) { |
|
73 | + $this->app->singleton('BackpackViewNamespaces', function($app) { |
|
74 | 74 | return new ViewNamespaces(); |
75 | 75 | }); |
76 | 76 | |
77 | 77 | // Bind the widgets collection object to Laravel's service container |
78 | - $this->app->singleton('widgets', function ($app) { |
|
78 | + $this->app->singleton('widgets', function($app) { |
|
79 | 79 | return new Collection(); |
80 | 80 | }); |
81 | 81 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | $middleware_key = config('backpack.base.middleware_key'); |
92 | 92 | $middleware_class = config('backpack.base.middleware_class'); |
93 | 93 | |
94 | - if (! is_array($middleware_class)) { |
|
94 | + if (!is_array($middleware_class)) { |
|
95 | 95 | $router->pushMiddlewareToGroup($middleware_key, $middleware_class); |
96 | 96 | |
97 | 97 | return; |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $configs = scandir(__DIR__."/config/backpack/$dir/"); |
208 | 208 | $configs = array_diff($configs, ['.', '..']); |
209 | 209 | |
210 | - if (! count($configs)) { |
|
210 | + if (!count($configs)) { |
|
211 | 211 | return; |
212 | 212 | } |
213 | 213 |
@@ -56,13 +56,13 @@ discard block |
||
56 | 56 | ], |
57 | 57 | |
58 | 58 | // CSS files that are loaded in all pages, using Laravel's mix() helper |
59 | - 'mix_styles' => [ // file_path => manifest_directory_path |
|
59 | + 'mix_styles' => [// file_path => manifest_directory_path |
|
60 | 60 | // 'css/app.css' => '', |
61 | 61 | ], |
62 | 62 | |
63 | 63 | // CSS files that are loaded in all pages, using Laravel's @vite() helper |
64 | 64 | // Please note that support for Vite was added in Laravel 9.19. Earlier versions are not able to use this feature. |
65 | - 'vite_styles' => [ // resource file_path |
|
65 | + 'vite_styles' => [// resource file_path |
|
66 | 66 | // 'resources/css/app.css' => '', |
67 | 67 | ], |
68 | 68 | |
@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | 'class' => [ |
74 | 74 | 'header' => 'header', |
75 | 75 | 'body' => 'app aside-menu-fixed sidebar-lg-show', // TODO: why used nowhere?! |
76 | - 'sidebar' => 'sidebar sidebar-dark sidebar-fixed', // TODO: why used nowhere?! |
|
77 | - 'footer' => 'app-footer d-print-none', // TODO: why used nowhere?! |
|
76 | + 'sidebar' => 'sidebar sidebar-dark sidebar-fixed', // TODO: why used nowhere?! |
|
77 | + 'footer' => 'app-footer d-print-none', // TODO: why used nowhere?! |
|
78 | 78 | ], |
79 | 79 | |
80 | 80 | // ------ |
@@ -113,12 +113,12 @@ discard block |
||
113 | 113 | ], |
114 | 114 | |
115 | 115 | // JS files that are loaded in all pages, using Laravel's mix() helper |
116 | - 'mix_scripts' => [ // file_path => manifest_directory_path |
|
116 | + 'mix_scripts' => [// file_path => manifest_directory_path |
|
117 | 117 | // 'js/app.js' => '', |
118 | 118 | ], |
119 | 119 | |
120 | 120 | // JS files that are loaded in all pages, using Laravel's @vite() helper |
121 | - 'vite_scripts' => [ // resource file_path |
|
121 | + 'vite_scripts' => [// resource file_path |
|
122 | 122 | // 'resources/js/app.js', |
123 | 123 | ], |
124 | 124 |