@@ -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();  | 
                                                        
@@ -34,16 +34,16 @@  | 
                                                    ||
| 34 | 34 |          $app['config']->set('database.default', 'sqlite'); | 
                                                        
| 35 | 35 |          $app['config']->set('database.connections.sqlite', [ | 
                                                        
| 36 | 36 | 'driver' => 'sqlite',  | 
                                                        
| 37 | - 'database' => __DIR__.'/database.sqlite',  | 
                                                        |
| 37 | + 'database' => __DIR__ . '/database.sqlite',  | 
                                                        |
| 38 | 38 | 'prefix' => '',  | 
                                                        
| 39 | 39 | ]);  | 
                                                        
| 40 | 40 | }  | 
                                                        
| 41 | 41 | |
| 42 | 42 | protected function setUpDatabase()  | 
                                                        
| 43 | 43 |      { | 
                                                        
| 44 | - file_put_contents(__DIR__.'/database.sqlite', null);  | 
                                                        |
| 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'); |