diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php index f236c5bb1e..b20d845e05 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php @@ -519,7 +519,9 @@ class ClassMetadataInfo implements ClassMetadata * * @see discriminatorColumn * - * @var mixed + * @var array + * + * @psalm-var array */ public $discriminatorMap = []; diff --git a/psalm-baseline.xml b/psalm-baseline.xml index ad5b01db83..1a5ef25ad7 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -653,7 +653,8 @@ $table $tableGeneratorDefinition - + + $this->discriminatorMap $this->entityListeners $this->fieldMappings $this->fullyQualifiedClassName($repositoryClassName)