@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | * |
| 282 | 282 | * By default if no column index is provided the first column of the CSV is selected |
| 283 | 283 | * |
| 284 | - * @param string|int $index CSV column index |
|
| 284 | + * @param integer $index CSV column index |
|
| 285 | 285 | * |
| 286 | 286 | * @return Generator |
| 287 | 287 | */ |
@@ -305,7 +305,7 @@ discard block |
||
| 305 | 305 | /** |
| 306 | 306 | * Filter a column name against the CSV header if any |
| 307 | 307 | * |
| 308 | - * @param string|int $field the field name or the field index |
|
| 308 | + * @param integer $field the field name or the field index |
|
| 309 | 309 | * @param string $error_message the associated error message |
| 310 | 310 | * |
| 311 | 311 | * @throws InvalidArgumentException if the field is invalid |
@@ -340,8 +340,8 @@ discard block |
||
| 340 | 340 | * - the first CSV column is used to provide the keys |
| 341 | 341 | * - the second CSV column is used to provide the value |
| 342 | 342 | * |
| 343 | - * @param string|int $offset_index The column index to serve as offset |
|
| 344 | - * @param string|int $value_index The column index to serve as value |
|
| 343 | + * @param integer $offset_index The column index to serve as offset |
|
| 344 | + * @param integer $value_index The column index to serve as value |
|
| 345 | 345 | * |
| 346 | 346 | * @return Generator |
| 347 | 347 | */ |