We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 40a91c1 + bb4baee commit fbf0968Copy full SHA for fbf0968
src/JMS/Serializer/Metadata/ClassMetadata.php
@@ -157,7 +157,7 @@ public function merge(MergeableInterface $object)
157
}
158
159
if ($this->discriminatorMap && ! $this->reflection->isAbstract()) {
160
- if (false == $typeValue = array_search($this->name, $this->discriminatorMap, true)) {
+ if (false === $typeValue = array_search($this->name, $this->discriminatorMap, true)) {
161
throw new \LogicException(sprintf(
162
'The sub-class "%s" is not listed in the discriminator of the base class "%s".',
163
$this->name,
0 commit comments