mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
ignore the keys returned by the datasets Generator for storing them into an array
This commit is contained in:
@ -156,7 +156,7 @@ final class DatasetsRepository
|
||||
}
|
||||
|
||||
if ($datasets[$index] instanceof Traversable) {
|
||||
$datasets[$index] = iterator_to_array($datasets[$index]);
|
||||
$datasets[$index] = iterator_to_array($datasets[$index], false);
|
||||
}
|
||||
|
||||
// @phpstan-ignore-next-line
|
||||
|
||||
Reference in New Issue
Block a user