We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function boot() |
| 27 | 27 | { |
| 28 | - if (! \App::runningInConsole()) { |
|
| 28 | + if (!\App::runningInConsole()) { |
|
| 29 | 29 | // only use the Settings package if the Settings table is present in the database |
| 30 | 30 | if (count(Schema::getColumnListing('settings'))) { |
| 31 | 31 | // get all settings from the database |
@@ -53,10 +53,10 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | public function setupRoutes(Router $router) |
| 55 | 55 | { |
| 56 | - $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function ($router) { |
|
| 56 | + $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function($router) { |
|
| 57 | 57 | // Admin Interface Routes |
| 58 | 58 | Route::group(['prefix' => config('backpack.base.route_prefix', 'admin'), |
| 59 | - 'middleware' => ['web', 'admin'], ], function () { |
|
| 59 | + 'middleware' => ['web', 'admin'], ], function() { |
|
| 60 | 60 | // Settings |
| 61 | 61 | Route::resource('setting', 'SettingCrudController'); |
| 62 | 62 | }); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | private function registerSettings() |
| 83 | 83 | { |
| 84 | - $this->app->bind('settings', function ($app) { |
|
| 84 | + $this->app->bind('settings', function($app) { |
|
| 85 | 85 | return new Settings($app); |
| 86 | 86 | }); |
| 87 | 87 | } |