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 |