We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Backpack\Settings; |
| 4 | 4 | |
| 5 | 5 | use Backpack\Settings\app\Models\Setting as Setting; |
| 6 | -use Config; |
|
| 7 | 6 | use Illuminate\Routing\Router; |
| 8 | 7 | use Illuminate\Support\Facades\Schema; |
| 9 | 8 | use Illuminate\Support\ServiceProvider; |
@@ -41,14 +41,14 @@ discard block |
||
| 41 | 41 | { |
| 42 | 42 | $router->group( |
| 43 | 43 | ['namespace' => 'Backpack\Settings\app\Http\Controllers'], |
| 44 | - function ($router) { |
|
| 44 | + function($router) { |
|
| 45 | 45 | // Admin Interface Routes |
| 46 | 46 | Route::group( |
| 47 | 47 | [ |
| 48 | 48 | 'prefix' => config('backpack.base.route_prefix', 'admin'), |
| 49 | 49 | 'middleware' => ['web', 'admin'], |
| 50 | 50 | ], |
| 51 | - function () { |
|
| 51 | + function() { |
|
| 52 | 52 | Route::resource('setting', 'SettingCrudController'); |
| 53 | 53 | } |
| 54 | 54 | ); |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | public function register() |
| 65 | 65 | { |
| 66 | 66 | $this->setupRoutes($this->app->router); |
| 67 | - $this->app->singleton('settings', function () { |
|
| 67 | + $this->app->singleton('settings', function() { |
|
| 68 | 68 | $store = []; |
| 69 | 69 | if (count(Schema::getColumnListing('settings'))) { |
| 70 | 70 | // get all settings from the database |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('settings', function (Blueprint $table) { |
|
| 16 | + Schema::table('settings', function(Blueprint $table) { |
|
| 17 | 17 | $table->text('value')->nullable()->change(); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function down() |
| 27 | 27 | { |
| 28 | - Schema::table('settings', function (Blueprint $table) { |
|
| 28 | + Schema::table('settings', function(Blueprint $table) { |
|
| 29 | 29 | $table->string('value')->nullable()->change(); |
| 30 | 30 | }); |
| 31 | 31 | } |