@@ -463,7 +463,7 @@ |
||
| 463 | 463 | $this->rebuildGeneratePositionData($array, $childNodeId, $p); |
| 464 | 464 | } |
| 465 | 465 | |
| 466 | - usort($array[$id]->childrenIds, function (int $a, int $b) use ($array) { |
|
| 466 | + usort($array[$id]->childrenIds, function(int $a, int $b) use ($array) { |
|
| 467 | 467 | return $array[$a]->position <=> $array[$b]->position; |
| 468 | 468 | }); |
| 469 | 469 | } |
@@ -402,7 +402,7 @@ |
||
| 402 | 402 | return []; |
| 403 | 403 | } |
| 404 | 404 | if ($options->skipCurrent) { |
| 405 | - unset($result[count($result)-1]); |
|
| 405 | + unset($result[count($result) - 1]); |
|
| 406 | 406 | } |
| 407 | 407 | |
| 408 | 408 | return $this->fromDbRows($result); |
@@ -402,7 +402,7 @@ |
||
| 402 | 402 | return []; |
| 403 | 403 | } |
| 404 | 404 | if ($options->skipCurrent) { |
| 405 | - unset($result[count($result)-1]); |
|
| 405 | + unset($result[count($result) - 1]); |
|
| 406 | 406 | } |
| 407 | 407 | |
| 408 | 408 | return $this->fromDbRows($result); |