| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function validate(Request $request): ?RequestProblemExceptionInterface |
||
| 41 | { |
||
| 42 | foreach ($this->validators as $validator) { |
||
| 43 | $exception = $validator->validate($request); |
||
| 44 | if ($exception instanceof RequestProblemExceptionInterface) { |
||
| 45 | return $exception; |
||
| 46 | } |
||
| 47 | } |
||
| 48 | |||
| 49 | return null; |
||
| 50 | } |
||
| 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..