@@ -8,7 +8,7 @@ discard block |
||
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 |
||
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 | /** |