Completed
Push — master ( 590ad2...37f4aa )
by Freek
02:11
created
src/SortableTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     public static function bootSortableTrait()
10 10
     {
11
-        static::creating(function ($model) {
11
+        static::creating(function($model) {
12 12
             if ($model instanceof Sortable && $model->shouldSortWhenCreating()) {
13 13
                 $model->setHighestOrderNumber();
14 14
             }
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function getHighestOrderNumber()
33 33
     {
34
-        return (int)static::max($this->determineOrderColumnName());
34
+        return (int) static::max($this->determineOrderColumnName());
35 35
     }
36 36
 
37 37
     /**
Please login to merge, or discard this patch.