Skip to content

Commit 6c709f9

Browse files
Merge branch '6.4' into 7.1
* 6.4: Fix expected missing return types [VarDumper] Fix tests
2 parents 6a533eb + 866f6cd commit 6c709f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PropertyAccessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function getValue(object|array $objectOrArray, string|PropertyPathInterfa
9898
self::VALUE => $objectOrArray,
9999
];
100100

101-
if (\is_object($objectOrArray) && false === strpbrk((string) $propertyPath, '.[?') || $objectOrArray instanceof \stdClass && property_exists($objectOrArray, $propertyPath))) {
101+
if (\is_object($objectOrArray) && (false === strpbrk((string) $propertyPath, '.[?') || $objectOrArray instanceof \stdClass && property_exists($objectOrArray, $propertyPath))) {
102102
return $this->readProperty($zval, $propertyPath, $this->ignoreInvalidProperty)[self::VALUE];
103103
}
104104

0 commit comments

Comments
 (0)