@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | } |
233 | 233 | |
234 | 234 | /** 排序 */ |
235 | - uasort($nodes, function ($a, $b) { |
|
235 | + uasort($nodes, function($a, $b) { |
|
236 | 236 | $aLevel = $this |
237 | 237 | ->getIndex($this->getNodeProperty($a, $this->idKey))->level; |
238 | 238 | |
@@ -319,7 +319,7 @@ discard block |
||
319 | 319 | } |
320 | 320 | |
321 | 321 | /** 排序 */ |
322 | - uasort($nodes, function ($a, $b) { |
|
322 | + uasort($nodes, function($a, $b) { |
|
323 | 323 | $aLevel = $this |
324 | 324 | ->getIndex($this->getNodeProperty($a, $this->idKey))->level; |
325 | 325 | |
@@ -384,7 +384,7 @@ discard block |
||
384 | 384 | |
385 | 385 | uasort( |
386 | 386 | $indexes, |
387 | - function (Index $a, Index $b) use ($cmpSortCallable, $sortType) { |
|
387 | + function(Index $a, Index $b) use ($cmpSortCallable, $sortType) { |
|
388 | 388 | $aSort = $cmpSortCallable($this->items[$a->id]); |
389 | 389 | $bSort = $cmpSortCallable($this->items[$b->id]); |
390 | 390 |