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'); |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Backpack\CRUD\app\Http\Controllers\CrudController; |
| 6 | 6 | // VALIDATION |
| 7 | -use Backpack\Settings\app\Http\Requests\SettingRequest as StoreRequest; |
|
| 8 | 7 | use Backpack\Settings\app\Http\Requests\SettingRequest as UpdateRequest; |
| 9 | 8 | |
| 10 | 9 | class SettingCrudController extends CrudController |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | */ |
| 51 | 51 | public function setupRoutes(Router $router) |
| 52 | 52 | { |
| 53 | - $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function ($router) { |
|
| 53 | + $router->group(['namespace' => 'Backpack\Settings\app\Http\Controllers'], function($router) { |
|
| 54 | 54 | require __DIR__.'/app/Http/routes.php'; |
| 55 | 55 | }); |
| 56 | 56 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | private function registerSettings() |
| 75 | 75 | { |
| 76 | - $this->app->bind('settings', function ($app) { |
|
| 76 | + $this->app->bind('settings', function($app) { |
|
| 77 | 77 | return new Settings($app); |
| 78 | 78 | }); |
| 79 | 79 | } |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | // Admin Interface Routes |
| 10 | -Route::group(['prefix' => 'admin', 'middleware' => ['web', 'auth']], function () { |
|
| 10 | +Route::group(['prefix' => 'admin', 'middleware' => ['web', 'auth']], function() { |
|
| 11 | 11 | |
| 12 | 12 | // Settings |
| 13 | 13 | Route::resource('setting', 'SettingCrudController'); |