| Total Complexity | 5 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class CsvParseSpec implements ParseSpecInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Specify the CSV parse spec. |
||
| 13 | * |
||
| 14 | * @param array<int,string>|null $columns |
||
| 15 | * @param string|null $keyColumn |
||
| 16 | * @param string|null $valueColumn |
||
| 17 | * @param bool $hasHeaderRow |
||
| 18 | * @param int $skipHeaderRows |
||
| 19 | */ |
||
| 20 | 3 | public function __construct( |
|
| 27 | |||
| 28 | 3 | } |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @return array<string,bool|array<int,string>|string|int> |
||
| 32 | */ |
||
| 33 | 3 | public function toArray(): array |
|
| 53 | } |
||
| 54 | } |