src/AnnotationGenerator/DoctrineOrmAnnotationGenerator.php
public function generateClassAnnotations(string $className): array
    {
        $class = $this->classes[$className];

        if ($class['isEnum']) {
            return [];
        }

        if (isset($this->config['types'][$class['resource']->localName()]['doctrine']['inheritanceMapping'])) {
            $inheritanceMapping = $this->config['types'][$class['resource']->localName()]['doctrine']['inheritanceMapping'];
        } else {
            $inheritanceMapping = '@ORM\Entity';

            if ($class['abstract']) {
                $inheritanceMapping = '@ORM\MappedSuperclass';
            }

            if ($class['embeddable']) {
                $inheritanceMapping = '@ORM\Embeddable';
            }
        }

        return ['', $inheritanceMapping];
    }
public function generateClassAnnotations(string $className): array
    {
        $class = $this->classes[$className];

        if ($class['isEnum']) {
            return [];
        }

        if (isset($this->config['types'][$class['resource']->localName()]['doctrine']['inheritanceMapping'])) {
            $inheritanceMapping = $this->config['types'][$class['resource']->localName()]['doctrine']['inheritanceMapping'];
        } else {
            $inheritanceMapping = '@ORM\Entity';

            if ($class['abstract']) {
                $inheritanceMapping = '@ORM\MappedSuperclass';
            }

            if ($class['embeddable']) {
                $inheritanceMapping = '@ORM\Embeddable';
            }
        }

        return ['', $inheritanceMapping];
    }
{@inheritdoc}