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:
@ -122,7 +122,7 @@ final class Datasets
|
||||
}
|
||||
|
||||
if ($datasets[$index] instanceof Traversable) {
|
||||
$datasets[$index] = iterator_to_array($datasets[$index]);
|
||||
$datasets[$index] = iterator_to_array($datasets[$index], false);
|
||||
}
|
||||
|
||||
foreach ($datasets[$index] as $key => $values) {
|
||||
|
||||
Reference in New Issue
Block a user