@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function up() |
| 16 | 16 | { |
| 17 | - Schema::table(config('user.table'), function (Blueprint $table) { |
|
| 17 | + Schema::table(config('user.table'), function(Blueprint $table) { |
|
| 18 | 18 | if (!Schema::hasColumn('name')) { |
| 19 | 19 | $table->string('name')->default('name'); |
| 20 | 20 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | $this->publishes([__DIR__ . '/../database/factories' => $this->app->databasePath() . '/factories'], 'laravel-tournaments'); |
| 30 | 30 | |
| 31 | 31 | |
| 32 | - $router->group(['prefix' => 'laravel-tournaments', 'middleware' => ['web']], function ($router) { |
|
| 32 | + $router->group(['prefix' => 'laravel-tournaments', 'middleware' => ['web']], function($router) { |
|
| 33 | 33 | $router->get('/', 'Xoco70\LaravelTournaments\TreeController@index')->name('tree.index'); |
| 34 | 34 | $router->post('/championships/{championship}/trees', 'Xoco70\LaravelTournaments\TreeController@store')->name('tree.store'); |
| 35 | 35 | $router->put('/championships/{championship}/trees', 'Xoco70\LaravelTournaments\TreeController@update')->name('tree.update'); |