mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37: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) {
|
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) {
|
foreach ($datasets[$index] as $key => $values) {
|
||||||
|
|||||||
Reference in New Issue
Block a user