mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Upgrade code from 146 to new standards
This commit is contained in:
@@ -45,7 +45,7 @@ class DiscriminatedObjectDenormalizer implements ContextAwareDenormalizerInterfa
|
||||
if ($this->denormalizer->supportsDenormalization($data, $localType, $format)) {
|
||||
try {
|
||||
return $this->denormalizer->denormalize($data, $localType, $format, $context);
|
||||
} catch (RuntimeException|NotNormalizableValueException $e) {
|
||||
} catch (NotNormalizableValueException|RuntimeException $e) {
|
||||
$lastException = $e;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user