Skip to content

Commit 5f76164

Browse files
committed
remove return type from AbstractObjectNormalizer::getAllowedAttributes()
1 parent b40a697 commit 5f76164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Normalizer/AbstractObjectNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ protected function createChildContext(array $parentContext, string $attribute, ?
766766
return $context;
767767
}
768768

769-
protected function getAllowedAttributes(string|object $classOrObject, array $context, bool $attributesAsString = false): array|bool
769+
protected function getAllowedAttributes(string|object $classOrObject, array $context, bool $attributesAsString = false)
770770
{
771771
if (false === $allowedAttributes = parent::getAllowedAttributes($classOrObject, $context, $attributesAsString)) {
772772
return false;

0 commit comments

Comments
 (0)