File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class GenericMetadata implements MetadataInterface
38
38
public array $ constraints = [];
39
39
40
40
/**
41
- * @var array
41
+ * @var array<string, Constraint[]>
42
42
*
43
43
* @internal This property is public in order to reduce the size of the
44
44
* class' serialized representation. Do not access it. Use
@@ -180,6 +180,9 @@ public function addConstraints(array $constraints): static
180
180
return $ this ;
181
181
}
182
182
183
+ /**
184
+ * @return Constraint[]
185
+ */
183
186
public function getConstraints (): array
184
187
{
185
188
return $ this ->constraints ;
@@ -195,6 +198,8 @@ public function hasConstraints(): bool
195
198
196
199
/**
197
200
* Aware of the global group (* group).
201
+ *
202
+ * @return Constraint[]
198
203
*/
199
204
public function findConstraints (string $ group ): array
200
205
{
You can’t perform that action at this time.
0 commit comments