File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 22
33namespace Doctrine\ORM\Mapping;
44
5+ use BackedEnum;
56use Doctrine\Persistence\Mapping\ClassMetadata;
67use ReflectionClass;
78
@@ -18,7 +19,7 @@ use ReflectionClass;
1819 * notInsertable?: bool,
1920 * notUpdatable?: bool,
2021 * generated?: int,
21- * enumType?: class-string<\ BackedEnum>,
22+ * enumType?: class-string<BackedEnum>,
2223 * columnDefinition?: string,
2324 * precision?: int,
2425 * scale?: int,
@@ -77,6 +78,14 @@ use ReflectionClass;
7778 * type: int,
7879 * unique?: bool,
7980 * }
81+ * @psalm-type DiscriminatorColumnMapping = array{
82+ * name: string,
83+ * fieldName: string,
84+ * type: string,
85+ * length?: int,
86+ * columnDefinition?: string|null,
87+ * enumType?: class-string<BackedEnum>|null,
88+ * }
8089 */
8190class ClassMetadataInfo implements ClassMetadata
8291{
You can’t perform that action at this time.
0 commit comments