Fix merge

This commit is contained in:
Nicolas Grekas 2016-02-01 21:47:29 +01:00
parent fc5e80c0cb
commit 49031493ef
1 changed files with 0 additions and 4 deletions

View File

@ -59,10 +59,6 @@ class CustomNormalizer extends SerializerAwareNormalizer implements NormalizerIn
*/
public function supportsDenormalization($data, $type, $format = null)
{
if (PHP_VERSION_ID < 50307) {
return class_exists($type) && in_array('Symfony\Component\Serializer\Normalizer\DenormalizableInterface', class_implements($type), true);
}
return is_subclass_of($type, 'Symfony\Component\Serializer\Normalizer\DenormalizableInterface');
}
}