Skip to content

Commit 4d7ab48

Browse files
keradusfabpot
authored andcommitted
DX: PHP CS Fixer - update excluded paths and apply some minor CS
1 parent be87cff commit 4d7ab48

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Mapping/GenericMetadata.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GenericMetadata implements MetadataInterface
3838
public array $constraints = [];
3939

4040
/**
41-
* @var array
41+
* @var array<string, Constraint[]>
4242
*
4343
* @internal This property is public in order to reduce the size of the
4444
* class' serialized representation. Do not access it. Use
@@ -180,6 +180,9 @@ public function addConstraints(array $constraints): static
180180
return $this;
181181
}
182182

183+
/**
184+
* @return Constraint[]
185+
*/
183186
public function getConstraints(): array
184187
{
185188
return $this->constraints;
@@ -195,6 +198,8 @@ public function hasConstraints(): bool
195198

196199
/**
197200
* Aware of the global group (* group).
201+
*
202+
* @return Constraint[]
198203
*/
199204
public function findConstraints(string $group): array
200205
{

0 commit comments

Comments
 (0)