Skip to content

Commit 293f66b

Browse files
VincentLangletondrejmirtes
authored andcommitted
Update ClassMetadataInfo.stub
1 parent 75dd016 commit 293f66b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

stubs/ORM/Mapping/ClassMetadataInfo.stub

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ use ReflectionClass;
3232
* declaredField?: string,
3333
* options?: array<string, mixed>
3434
* }
35+
* @psalm-type JoinColumnData = array{
36+
* name: string,
37+
* referencedColumnName: string,
38+
* unique?: bool,
39+
* quoted?: bool,
40+
* fieldName?: string,
41+
* onDelete?: string,
42+
* }
3543
* @psalm-type AssociationMapping = array{
3644
* cache?: array,
3745
* cascade: array<string>,
@@ -49,7 +57,7 @@ use ReflectionClass;
4957
* isCascadeDetach: bool,
5058
* isOnDeleteCascade?: bool,
5159
* isOwningSide: bool,
52-
* joinColumns?: array,
60+
* joinColumns?: array<JoinColumnData>,
5361
* joinColumnFieldNames?: array<string, string>,
5462
* joinTable?: array,
5563
* joinTableColumns?: list<mixed>,

0 commit comments

Comments
 (0)