@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | } |
235 | 235 | |
236 | 236 | /* 排序 */ |
237 | - uasort($nodes, function ($a, $b) { |
|
237 | + uasort($nodes, function($a, $b) { |
|
238 | 238 | $aLevel = $this |
239 | 239 | ->getIndex($this->getNodeProperty($a, $this->idKey))->level; |
240 | 240 | |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | } |
322 | 322 | |
323 | 323 | /* 排序 */ |
324 | - uasort($nodes, function ($a, $b) { |
|
324 | + uasort($nodes, function($a, $b) { |
|
325 | 325 | $aLevel = $this |
326 | 326 | ->getIndex($this->getNodeProperty($a, $this->idKey))->level; |
327 | 327 | |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | |
389 | 389 | uasort( |
390 | 390 | $indexes, |
391 | - function (Index $a, Index $b) use ($cmpSortCallable, $sortType) { |
|
391 | + function(Index $a, Index $b) use ($cmpSortCallable, $sortType) { |
|
392 | 392 | $aSort = $cmpSortCallable($this->items[$a->id]); |
393 | 393 | $bSort = $cmpSortCallable($this->items[$b->id]); |
394 | 394 |