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; |
@@ -51,10 +51,10 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | public function setupRoutes(Router $router) |
| 53 | 53 | { |
| 54 | - $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function ($router) { |
|
| 54 | + $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function($router) { |
|
| 55 | 55 | // Admin Interface Routes |
| 56 | 56 | Route::group(['prefix' => config('backpack.base.route_prefix', 'admin'), |
| 57 | - 'middleware' => ['web', 'admin'], ], function () { |
|
| 57 | + 'middleware' => ['web', 'admin'], ], function() { |
|
| 58 | 58 | // Settings |
| 59 | 59 | Route::resource('setting', 'SettingCrudController'); |
| 60 | 60 | }); |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | private function registerSettings() |
| 81 | 81 | { |
| 82 | - $this->app->bind('settings', function ($app) { |
|
| 82 | + $this->app->bind('settings', function($app) { |
|
| 83 | 83 | return new Settings($app); |
| 84 | 84 | }); |
| 85 | 85 | } |