@@ -33,14 +33,14 @@ |
||
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(); |
40 | 40 | } |
41 | 41 | }); |
42 | 42 | |
43 | - $this->app['events']->listen('eloquent.deleted*', function ($model) { |
|
43 | + $this->app['events']->listen('eloquent.deleted*', function($model) { |
|
44 | 44 | |
45 | 45 | if ($model instanceof Sortable && $model->shouldSortWhenDeleting()) { |
46 | 46 | $model->reorder(); |