Skip to content

Commit 981e0c4

Browse files
Fix coding standard issues
1 parent c732769 commit 981e0c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,8 @@ protected function getAllowedAttributes($classOrObject, array $context, $attribu
364364
if (
365365
(
366366
false === $groups
367-
|| in_array('*', $attributeMetadata->getGroups())
367+
|| \in_array('*', $attributeMetadata->getGroups())
368368
|| array_intersect($attributeMetadata->getGroups(), $groups)
369-
370369
) && $this->isAllowedAttribute($classOrObject, $name, null, $context)
371370
) {
372371
$allowedAttributes[] = $attributesAsString ? $name : $attributeMetadata;

0 commit comments

Comments
 (0)