Skip to content

Commit 866f6cd

Browse files
Fix expected missing return types
1 parent d60a85b commit 866f6cd

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
@@ -95,7 +95,7 @@ public function getValue(object|array $objectOrArray, string|PropertyPathInterfa
9595
self::VALUE => $objectOrArray,
9696
];
9797

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

0 commit comments

Comments
 (0)