8000 fix cs · symfony/symfony@736e1f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 736e1f8

Browse files
committed
fix cs
1 parent 009d58b commit 736e1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function denormalize($data, $class, $format = null, array $context = arra
253253
$attribute = $this->nameConverter->denormalize($attribute);
254254
}
255255

256-
if ((false !== $allowedAttributes && ! \in_array($attribute, $allowedAttributes)) || !$this->isAllowedAttribute($class, $attribute, $format, $context)) {
256+
if ((false !== $allowedAttributes && !\in_array($attribute, $allowedAttributes)) || !$this->isAllowedAttribute($class, $attribute, $format, $context)) {
257257
if (isset($context[self::ALLOW_EXTRA_ATTRIBUTES]) && !$context[self::ALLOW_EXTRA_ATTRIBUTES]) {
258258
$extraAttributes[] = $attribute;
259259
}

0 commit comments

Comments
 (0)
0