Skip to content

Commit e7f3cb6

Browse files
author
Václav Pelíšek
committed
Fixed phpstan issue
1 parent 5b4c631 commit e7f3cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Value/ConvertParserValueVisitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function visitObjectVal(\Graphpinator\Parser\Value\ObjectVal $objectVal)
6464
throw new \Graphpinator\Exception\Value\InvalidValue($this->type->printName(), new \stdClass(), true);
6565
}
6666

67-
foreach ($objectVal->getValue() as $name => $temp) {
67+
foreach ((array) $objectVal->getValue() as $name => $temp) {
6868
if ($this->type->getArguments()->offsetExists($name)) {
6969
continue;
7070
}

0 commit comments

Comments
 (0)