| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | final class ArrayCollectionFactory implements CollectionFactoryInterface |
||
| 37 | 7406 | { |
|
| 38 | public function getInterface(): ?string |
||
| 39 | 7406 | { |
|
| 40 | return null; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @psalm-param string $class |
||
| 45 | */ |
||
| 46 | public function withCollectionClass(string $class): static |
||
| 49 | } |
||
| 50 | 114 | ||
| 51 | public function collect(iterable $data): array |
||
| 60 |