Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class Collections |
||
13 | { |
||
14 | /** |
||
15 | * Sorts the specified list according to the order induced by the specified comparator. All elements in the list |
||
16 | * must be mutually comparable. |
||
17 | * |
||
18 | * @param ArrayList $list |
||
19 | * @param Comparator $comparator |
||
20 | * @return ArrayList |
||
21 | */ |
||
22 | 2 | public static function sort(ArrayList &$list, Comparator $comparator) |
|
30 |