Skip to content

Commit

Permalink
Fix CS, again
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude authored Dec 21, 2020
1 parent f9c9817 commit aa04876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ protected function validateRuntimeMetadata($class, $parent)
throw MappingException::invalidClassInDiscriminatorMap($subClass, $class->name);
}
}
} else if ((! $class->reflClass || ! $class->reflClass->isAbstract()) && ! in_array($class->name, $parent->discriminatorMap)) {
} elseif ((! $class->reflClass || ! $class->reflClass->isAbstract()) && ! in_array($class->name, $parent->discriminatorMap)) {
throw MappingException::mappedClassNotPartOfDiscriminatorMap($class->name, $class->rootEntityName);
}

Expand Down

0 comments on commit aa04876

Please sign in to comment.