diff --git a/src/JMS/Serializer/Metadata/ClassMetadata.php b/src/JMS/Serializer/Metadata/ClassMetadata.php index 170e97712..4da416514 100644 --- a/src/JMS/Serializer/Metadata/ClassMetadata.php +++ b/src/JMS/Serializer/Metadata/ClassMetadata.php @@ -157,7 +157,7 @@ public function merge(MergeableInterface $object) } if ($this->discriminatorMap && ! $this->reflection->isAbstract()) { - if (false == $typeValue = array_search($this->name, $this->discriminatorMap, true)) { + if (false === $typeValue = array_search($this->name, $this->discriminatorMap, true)) { throw new \LogicException(sprintf( 'The sub-class "%s" is not listed in the discriminator of the base class "%s".', $this->name,