diff --git a/src/Persistence/Mapping/AbstractClassMetadataFactory.php b/src/Persistence/Mapping/AbstractClassMetadataFactory.php index ad2a5f06..e8f6acaa 100644 --- a/src/Persistence/Mapping/AbstractClassMetadataFactory.php +++ b/src/Persistence/Mapping/AbstractClassMetadataFactory.php @@ -376,8 +376,8 @@ protected function onNotFoundMetadata(string $className) /** * Actually loads the metadata from the underlying metadata. * - * @param string[] $nonSuperclassParents All parent class names that are - * not marked as mapped superclasses. + * @param bool $rootEntityFound True when there is another entity (non-mapped superclass) class above the current class in the PHP class hierarchy. + * @param list $nonSuperclassParents All parent class names that are not marked as mapped superclasses, with the direct parent class being the first and the root entity class the last element. * @psalm-param CMTemplate $class * @psalm-param CMTemplate|null $parent *