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 2
2
3
3
namespace Doctrine\ORM\Mapping;
4
4
5
+ use BackedEnum;
5
6
use Doctrine\Persistence\Mapping\ClassMetadata;
6
7
use ReflectionClass;
7
8
@@ -18,7 +19,7 @@ use ReflectionClass;
18
19
* notInsertable?: bool,
19
20
* notUpdatable?: bool,
20
21
* generated?: int,
21
- * enumType?: class-string<\ BackedEnum>,
22
+ * enumType?: class-string<BackedEnum>,
22
23
* columnDefinition?: string,
23
24
* precision?: int,
24
25
* scale?: int,
@@ -77,6 +78,14 @@ use ReflectionClass;
77
78
* type: int,
78
79
* unique?: bool,
79
80
* }
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
+ * }
80
89
*/
81
90
class ClassMetadataInfo implements ClassMetadata
82
91
{
You can’t perform that action at this time.
0 commit comments