Skip to content

Commit 1da0e8d

Browse files
committed
Fix ArrayBuffer keys
1 parent 6248ac5 commit 1da0e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArrayBuffer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(iterable $stream)
3939
private function iterableToArray(iterable $tokens): array
4040
{
4141
if ($tokens instanceof \Traversable) {
42-
return \iterator_to_array($tokens, false);
42+
return \iterator_to_array($tokens);
4343
}
4444

4545
return $tokens;

0 commit comments

Comments
 (0)