Skip to content

Commit e569b6d

Browse files
committed
Fix ClassMetadata FieldMapping
1 parent d35b8d4 commit e569b6d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
* version?: bool,
8686
* lock?: bool,
8787
* inherited?: string,
88-
* declared?: class-string
88+
* declared?: class-string,
89+
* prime?: list<string>
8990
* }
9091
* @psalm-type FieldMapping = array{
9192
* type: string,
@@ -99,7 +100,6 @@
99100
* isOwningSide: bool,
100101
* isInverseSide: bool,
101102
* strategy?: string,
102-
* notSaved?: bool,
103103
* association?: int,
104104
* id?: bool,
105105
* collectionClass?: class-string,
@@ -124,7 +124,8 @@
124124
* lock?: bool,
125125
* notSaved?: bool,
126126
* inherited?: string,
127-
* declared?: class-string
127+
* declared?: class-string,
128+
* prime?: list<string>
128129
* }
129130
* @psalm-type AssociationFieldMapping = array{
130131
* type: string,
@@ -162,7 +163,8 @@
162163
* lock?: bool,
163164
* notSaved?: bool,
164165
* inherited?: string,
165-
* declared?: class-string
166+
* declared?: class-string,
167+
* prime?: list<string>
166168
* }
167169
* @psalm-type IndexKeys = array<string, mixed>
168170
* @psalm-type IndexOptions = array<string, mixed>

0 commit comments

Comments
 (0)