Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit 635d077

Browse files
committed
ArrayProvider: Optimize renum()
1 parent 0ad4cf7 commit 635d077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/ArrayProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public function repeat($value, $n)
364364
*/
365365
public function renum($xs)
366366
{
367-
return array_values(Iterators::toArray($xs));
367+
return Iterators::toList($xs);
368368
}
369369

370370
/**

0 commit comments

Comments
 (0)