8000 Fix coding standard issues · symfony/symfony@256aac1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 256aac1

Browse files
Fix coding standard issues
1 parent c2c78a3 commit 256aac1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,7 @@ protected function isCircularReference($object, &$context)
306306
*
307307
* @final since Symfony 4.2
308308
*
309-
* @param object $object
310-
* @param string|null $format
311-
* @param array $context
309+
* @param object $object
312310
*
313311
* @return mixed
314312
*
@@ -364,9 +362,8 @@ protected function getAllowedAttributes($classOrObject, array $context, $attribu
364362
if (
365363
(
366364
false === $groups
367-
|| in_array('*', $attributeMetadata->getGroups())
365+
|| \in_array('*', $attributeMetadata->getGroups())
368366
|| array_intersect($attributeMetadata->getGroups(), $groups)
369-
370367
) && $this->isAllowedAttribute($classOrObject, $name, null, $context)
371368
) {
372369
$allowedAttributes[] = $attributesAsString ? $name : $attributeMetadata;

0 commit comments

Comments
 (0)
0