We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('settings', function (Blueprint $table) { |
|
15 | + Schema::create('settings', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('key'); |
18 | 18 | $table->string('name'); |
@@ -64,7 +64,7 @@ |
||
64 | 64 | $this->crud->hasAccessOrFail('update'); |
65 | 65 | |
66 | 66 | $this->data['entry'] = $this->crud->getEntry($id); |
67 | - $this->crud->addField((array) json_decode($this->data['entry']->field)); // <---- this is where it's different |
|
67 | + $this->crud->addField((array)json_decode($this->data['entry']->field)); // <---- this is where it's different |
|
68 | 68 | $this->data['crud'] = $this->crud; |
69 | 69 | $this->data['fields'] = $this->crud->getUpdateFields($id); |
70 | 70 | $this->data['title'] = trans('backpack::crud.edit').' '.$this->crud->entity_name; |
@@ -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 | } |