@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('settings', function (Blueprint $table) { |
|
| 16 | + Schema::create('settings', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('scope'); |
| 19 | 19 | $table->json('data'); |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | // The database needs to be deleted before the application gets boted |
| 18 | 18 | // to avoid having the database in a weird read-only state. |
| 19 | 19 | |
| 20 | - if (! $force && static::$migrated) { |
|
| 20 | + if (!$force && static::$migrated) { |
|
| 21 | 21 | return; |
| 22 | 22 | } |
| 23 | 23 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | $database->connection($name)->beginTransaction(); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - $this->beforeApplicationDestroyed(function () use ($database) { |
|
| 53 | + $this->beforeApplicationDestroyed(function() use ($database) { |
|
| 54 | 54 | foreach ($this->connectionsToTransact() as $name) { |
| 55 | 55 | $database->connection($name)->rollBack(); |
| 56 | 56 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | |
| 21 | 21 | parent::setUp(); |
| 22 | 22 | |
| 23 | - $this->setUpDatabase(function () { |
|
| 23 | + $this->setUpDatabase(function() { |
|
| 24 | 24 | $this->artisan('db:seed', ['--class' => UsersTableSeeder::class]); |
| 25 | 25 | }); |
| 26 | 26 | |
@@ -19,6 +19,6 @@ |
||
| 19 | 19 | Route::get('settings', 'SettingController@index'); |
| 20 | 20 | Route::post('settings', 'SettingController@update'); |
| 21 | 21 | |
| 22 | -Route::group(['prefix' => '/admin'], function () { |
|
| 22 | +Route::group(['prefix' => '/admin'], function() { |
|
| 23 | 23 | Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index'); |
| 24 | 24 | }); |