Skip to content

Commit

Permalink
fix broken merge
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jun 22, 2024
1 parent d801518 commit 3cc156e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected function isAllowedAttribute($classOrObject, string $attribute, ?string

if ($context['_read_attributes'] ?? true) {
if (!isset(self::$isReadableCache[$class.$attribute])) {
self::$isReadableCache[$class.$attribute] = (\is_object($classOrObject) && $this->propertyAccessor->isReadable($classOrObject, $attribute)) || $this->hasAttributeAccessorMethod($class, $attribute);
self::$isReadableCache[$class.$attribute] = (\is_object($classOrObject) && $this->propertyAccessor->isReadable($classOrObject, $attribute)) || $this->propertyInfoExtractor->isReadable($class, $attribute) || $this->hasAttributeAccessorMethod($class, $attribute);
}

return self::$isReadableCache[$class.$attribute];
Expand Down

0 comments on commit 3cc156e

Please sign in to comment.