Skip to content

Commit

Permalink
[Serializer] Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Apr 4, 2020
1 parent a4d9b0c commit 8e02b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Normalizer/AbstractObjectNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ private function validateAndDenormalize($currentClass, $attribute, $data, $forma
*/
protected function denormalizeParameter(\ReflectionClass $class, \ReflectionParameter $parameter, $parameterName, $parameterData, array $context, $format = null)
{
if (null === $this->propertyTypeExtractor || null === $types = $this->propertyTypeExtractor->getTypes($class->getName(), $parameterName)) {
if (null === $this->propertyTypeExtractor || null === $this->propertyTypeExtractor->getTypes($class->getName(), $parameterName)) {
return parent::denormalizeParameter($class, $parameter, $parameterName, $parameterData, $context, $format);
}

Expand Down

0 comments on commit 8e02b98

Please sign in to comment.