@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function bootEvents() |
| 35 | 35 | { |
| 36 | - $this->app['events']->listen('eloquent.creating*', function ($model) { |
|
| 36 | + $this->app['events']->listen('eloquent.creating*', function($model) { |
|
| 37 | 37 | |
| 38 | 38 | if ($model instanceof Sortable && $model->shouldSortWhenCreating()) { |
| 39 | 39 | $model->setHighestOrderNumber(); |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | { |
| 44 | 44 | file_put_contents(__DIR__.'/database.sqlite', null); |
| 45 | 45 | |
| 46 | - $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function (Blueprint $table) { |
|
| 46 | + $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function(Blueprint $table) { |
|
| 47 | 47 | $table->increments('id'); |
| 48 | 48 | $table->string('name'); |
| 49 | 49 | $table->integer('order_column'); |