Skip to content

Commit 3b5ffa6

Browse files
committed
use to Array for consistency
1 parent e310504 commit 3b5ffa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Registry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function get($path, $default = null)
253253
#[\ReturnTypeWillChange]
254254
public function getIterator()
255255
{
256-
return new \ArrayIterator(ArrayHelper::fromObject($this->data));
256+
return new \ArrayIterator($this->toArray());
257257
}
258258

259259
/**

0 commit comments

Comments
 (0)