| 1 | <?php |
||
| 8 | trait HttpMessageAwareTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var \Zend\Diactoros\ServerRequestFactory |
||
| 12 | */ |
||
| 13 | protected $request; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var \Zend\Diactoros\Response |
||
| 17 | */ |
||
| 18 | protected $response; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Sets the http request object |
||
| 22 | * |
||
| 23 | * @param ServerRequest $obj |
||
| 24 | */ |
||
| 25 | public function setRequest(ServerRequest $obj) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Gets the http request object |
||
| 32 | * |
||
| 33 | * @return ServerRequest $obj |
||
| 34 | */ |
||
| 35 | public function getRequest() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Sets the http response object |
||
| 42 | * |
||
| 43 | * @param Zend\Diactoros\Response |
||
| 44 | */ |
||
| 45 | public function setResponse(Response $obj) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Gets the http response object |
||
| 52 | * |
||
| 53 | * @return Zend\Diactoros\Response |
||
| 54 | */ |
||
| 55 | public function getResponse() |
||
| 59 | } |
||
| 60 |
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..