We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -56,18 +56,18 @@ discard block |
||
56 | 56 | public function register() |
57 | 57 | { |
58 | 58 | // Bind the CrudPanel object to Laravel's service container |
59 | - $this->app->singleton('crud', function ($app) { |
|
59 | + $this->app->singleton('crud', function($app) { |
|
60 | 60 | return new CrudPanel($app); |
61 | 61 | }); |
62 | 62 | |
63 | 63 | // Bind the widgets collection object to Laravel's service container |
64 | - $this->app->singleton('widgets', function ($app) { |
|
64 | + $this->app->singleton('widgets', function($app) { |
|
65 | 65 | return new Collection(); |
66 | 66 | }); |
67 | 67 | |
68 | 68 | // load a macro for Route, |
69 | 69 | // helps developers load all routes for a CRUD resource in one line |
70 | - if (! Route::hasMacro('crud')) { |
|
70 | + if (!Route::hasMacro('crud')) { |
|
71 | 71 | $this->addRouteMacro(); |
72 | 72 | } |
73 | 73 | |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | config(['backpack.base.web_middleware' => 'web']); |
97 | 97 | } |
98 | 98 | |
99 | - if (! is_array($middleware_class)) { |
|
99 | + if (!is_array($middleware_class)) { |
|
100 | 100 | $router->pushMiddlewareToGroup($middleware_key, $middleware_class); |
101 | 101 | |
102 | 102 | return; |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | */ |
195 | 195 | private function addRouteMacro() |
196 | 196 | { |
197 | - Route::macro('crud', function ($name, $controller) { |
|
197 | + Route::macro('crud', function($name, $controller) { |
|
198 | 198 | // put together the route name prefix, |
199 | 199 | // as passed to the Route::group() statements |
200 | 200 | $routeName = ''; |