8000 minor #36341 [Serializer] Remove unused variable (dunglas) · enflow/symfony@9b41a32 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit 9b41a32

Browse files
committed
minor symfony#36341 [Serializer] Remove unused variable (dunglas)
This PR was merged into the 3.4 branch. Discussion ---------- [Serializer] Remove unused variable | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 3e94343 [Serializer] Remove unused variable
2 parents 004f1f3 + 3e94343 commit 9b41a32

File tree

Expand 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
@@ -304,7 +304,7 @@ private function validateAndDenormalize($currentClass, $attribute, $data, $forma
304304
*/
305305
protected function denormalizeParameter(\ReflectionClass $class, \ReflectionParameter $parameter, $parameterName, $parameterData, array $context, $format = null)
306306
{
307-
if (null === $this->propertyTypeExtractor || null === $types = $this->propertyTypeExtractor->getTypes($class->getName(), $parameterName)) {
307+
if (null === $this->propertyTypeExtractor || null === $this->propertyTypeExtractor->getTypes($class->getName(), $parameterName)) {
308308
return parent::denormalizeParameter($class, $parameter, $parameterName, $parameterData, $context, $format);
309309
}
310310

0 commit comments

Comments
 (0)
0