Skip to content

Commit a92f06e

Browse files
committed
convert stdClass to array
1 parent 27d692e commit a92f06e

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($this->data);
256+
return new \ArrayIterator(ArrayHelper::fromObject($this->data));
257257
}
258258

259259
/**

0 commit comments

Comments
 (0)