| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function send(RequestInterface $request) |
||
| 28 | { |
||
| 29 | $this->request = $request; |
||
|
|
|||
| 30 | |||
| 31 | return new Response( |
||
| 32 | 404, |
||
| 33 | [ |
||
| 34 | 'code' => 'ResourceNotFound', |
||
| 35 | 'message' => "{$request->getUrl()} was not found", |
||
| 36 | ], |
||
| 37 | [ |
||
| 38 | 'Response Code' => 404, |
||
| 39 | 'Response Status' => 'Not Found', |
||
| 40 | 'Content-Type' => 'application/json', |
||
| 41 | ] |
||
| 42 | ); |
||
| 43 | } |
||
| 44 | |||
| 55 |
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..