Completed
Pull Request — master (#19)
by
unknown
04:54 queued 02:38
created
src/SortableServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.