Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class GetIterableTester |
||
13 | { |
||
14 | public static function assertResultsAreTheSame(Query $query) : void |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Copy the iterable into an array. If the iterable is already an array, return it. |
||
24 | * |
||
25 | * @return mixed[] |
||
26 | */ |
||
27 | private static function iterableToArray(iterable $iterable) : array |
||
32 |