Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | final class CompositeRequestValidator implements ValidatorInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var ValidatorInterface[] |
||
29 | */ |
||
30 | private $validators; |
||
31 | |||
32 | /** |
||
33 | * @param ValidatorInterface[] $validators |
||
34 | */ |
||
35 | public function __construct(iterable $validators) |
||
38 | } |
||
39 | |||
40 | public function validate(Request $request): ?RequestProblemExceptionInterface |
||
52 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..