@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function up() |
| 19 | 19 | { |
| 20 | - Schema::create('authors', function (Blueprint $table) { |
|
| 20 | + Schema::create('authors', function(Blueprint $table) { |
|
| 21 | 21 | $table->increments('id'); |
| 22 | 22 | $table->string('name'); |
| 23 | 23 | }); |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function up() |
| 19 | 19 | { |
| 20 | - Schema::create('posts', function (Blueprint $table) { |
|
| 20 | + Schema::create('posts', function(Blueprint $table) { |
|
| 21 | 21 | $table->increments('id'); |
| 22 | 22 | $table->string('title'); |
| 23 | 23 | $table->string('subtitle')->nullable(); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | { |
| 41 | 41 | $this->mergeConfigFrom(__DIR__ . '/../resources/config/sluggable.php', 'sluggable'); |
| 42 | 42 | |
| 43 | - $this->app->singleton(SluggableObserver::class, function ($app) { |
|
| 43 | + $this->app->singleton(SluggableObserver::class, function($app) { |
|
| 44 | 44 | return new SluggableObserver(new SlugService(), $app['events']); |
| 45 | 45 | }); |
| 46 | 46 | } |