| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class CompositeRequestValidator implements ValidatorInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var ValidatorInterface[] |
||
| 23 | */ |
||
| 24 | private $validators; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param ValidatorInterface[] $validators |
||
| 28 | */ |
||
| 29 | public function __construct(iterable $validators) |
||
| 32 | } |
||
| 33 | |||
| 34 | public function validate(Request $request): ?RequestProblemExceptionInterface |
||
| 46 |
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..