Skip to content

Commit 442bb84

Browse files
VincentLangletondrejmirtes
authored andcommitted
Update ClassMetadataInfo.stub
1 parent a6310ac commit 442bb84

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

stubs/ORM/Mapping/ClassMetadataInfo.stub

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Doctrine\ORM\Mapping;
44

5+
use BackedEnum;
56
use Doctrine\Persistence\Mapping\ClassMetadata;
67
use 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
*/
8190
class ClassMetadataInfo implements ClassMetadata
8291
{

0 commit comments

Comments
 (0)