@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | { |
198 | 198 | static::$branchOrder = array_flip(Arr::flatten($order)); |
199 | 199 | |
200 | - static::$branchOrder = array_map(function ($item) { |
|
200 | + static::$branchOrder = array_map(function($item) { |
|
201 | 201 | return ++$item; |
202 | 202 | }, static::$branchOrder); |
203 | 203 | } |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | */ |
297 | 297 | protected static function bootModelTree() |
298 | 298 | { |
299 | - static::saving(function (Model $branch) { |
|
299 | + static::saving(function(Model $branch) { |
|
300 | 300 | $parentColumn = $branch->getParentColumn(); |
301 | 301 | |
302 | 302 | if (Request::has($parentColumn) && Request::input($parentColumn) == $branch->getKey()) { |