*/ class ClassMetadata extends ClassMetadataInfo { /** * Repeating the ClassMetadataInfo constructor to infer correctly the template with PHPStan * * @see https://github.com/doctrine/orm/issues/8709 * * @param string $entityName The name of the entity class the new instance is used for. * @psalm-param class-string $entityName */ public function __construct($entityName, ?NamingStrategy $namingStrategy = null) { parent::__construct($entityName, $namingStrategy); } }