8000 fixed CS · symfony/symfony@711788b · GitHub
[go: up one dir, main page]

Skip to content

Commit 711788b

Browse files
committed
fixed CS
1 parent cb147ec commit 711788b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Serializer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,15 @@ public function denormalize($data, $type, $format = null, array $context = array
143143
*/
144144
public function supportsNormalization($data, $format = null)
145145
{
146-
return (bool) $this->getNormalizer($data, $format);
146+
return null !== $this->getNormalizer($data, $format);
147147
}
148148

149149
/**
150150
* {@inheritdoc}
151151
*/
152152
public function supportsDenormalization($data, $type, $format = null)
153153
{
154-
return (bool) $this->getDenormalizer($data, $type, $format);
154+
return null !== $this->getDenormalizer($data, $type, $format);
155155
}
156156

157157
/**

0 commit comments

Comments
 (0)
0