@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * @param Comparator $comparator |
| 20 | 20 | * @return ArrayList |
| 21 | 21 | */ |
| 22 | - public static function sort(ArrayList &$list, Comparator $comparator) |
|
| 22 | + public static function sort(ArrayList&$list, Comparator $comparator) |
|
| 23 | 23 | { |
| 24 | 24 | $array = $list->toArray(); |
| 25 | 25 | usort($array, [$comparator, "compare"]); |