@@ -22,7 +22,7 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | public function map(Fluent $builder) |
| 24 | 24 | { |
| 25 | - $builder->integer('id')->unsigned()->primary()->generatedValue(function (GeneratedValue $builder) { |
|
| 25 | + $builder->integer('id')->unsigned()->primary()->generatedValue(function(GeneratedValue $builder) { |
|
| 26 | 26 | $builder->identity(); |
| 27 | 27 | }); |
| 28 | 28 | $builder->integer('depth'); |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | /** @var Buildable[] $queued */ |
| 40 | 40 | $queued = $this->getQueued(); |
| 41 | 41 | |
| 42 | - usort($queued, function (Buildable $buildable) { |
|
| 42 | + usort($queued, function(Buildable $buildable) { |
|
| 43 | 43 | return $buildable instanceof Delay ? 1 : 0; |
| 44 | 44 | }); |
| 45 | 45 | |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | */ |
| 99 | 99 | public static function enable() |
| 100 | 100 | { |
| 101 | - $macro = function (Fluent $fluent, $strategy = 'nested', $callback = null, $autoComplete = false) { |
|
| 101 | + $macro = function(Fluent $fluent, $strategy = 'nested', $callback = null, $autoComplete = false) { |
|
| 102 | 102 | $tree = new static($fluent, $strategy, $autoComplete); |
| 103 | 103 | |
| 104 | 104 | if (is_callable($callback)) { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | }; |
| 110 | 110 | |
| 111 | 111 | Builder::macro(self::MACRO_METHOD, $macro); |
| 112 | - Builder::macro('nestedSet', function (Fluent $fluent, $callback = null) use ($macro) { |
|
| 112 | + Builder::macro('nestedSet', function(Fluent $fluent, $callback = null) use ($macro) { |
|
| 113 | 113 | return $macro($fluent, 'nested', $callback, true); |
| 114 | 114 | }); |
| 115 | 115 | |