Skip to content

Commit 701b892

Browse files
Merge branch '3.0'
* 3.0: [PropertyAccess] ->getValue() should be read-only [VarDumper] Fix dumping type hints for non-existing parent classes [Config] Fix XmlUtilsTest namespace [Console] [TableHelper] make it work with SymfonyStyle. Remove dead code [FrameworkBundle] Better output for user in ContainerDebugCommand [Routing] add query param if value is different from default
2 parents cb01cb6 + 0baa375 commit 701b892

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Serializer.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,6 @@ private function denormalizeObject($data, $class, $format, array $context = arra
264264
return $normalizer->denormalize($data, $class, $format, $context);
265265
}
266266

267-
foreach ($this->normalizers as $normalizer) {
268-
if (
269-
$normalizer instanceof DenormalizerInterface &&
270-
$normalizer->supportsDenormalization($data, $class, $format)
271-
) {
272-
return $normalizer->denormalize($data, $class, $format, $context);
273-
}
274-
}
275-
276267
throw new UnexpectedValueException(sprintf('Could not denormalize object of type %s, no supporting normalizer found.', $class));
277268
}
278269

0 commit comments

Comments
 (0)