Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
23 | final class Collections |
||
24 | { |
||
25 | /** |
||
26 | * Sorts the specified list according to the order induced by the specified comparator. All elements in the list |
||
27 | * must be mutually comparable. |
||
28 | * |
||
29 | * @param ListInterface $list |
||
30 | * @param Comparator $comparator |
||
31 | * @return ListInterface |
||
32 | */ |
||
33 | 3 | public static function sort(ListInterface $list, Comparator $comparator): ListInterface |
|
41 |