| 1 | <?php |
||
| 13 | abstract class BaseRenderer |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * |
||
| 18 | * @var Serializer $serializer |
||
| 19 | */ |
||
| 20 | protected $serializer = null; |
||
| 21 | |||
| 22 | protected $request = null; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * |
||
| 26 | * @param BaseSerializer $serializer |
||
| 27 | * @return \Solvire\API\Renderers\BaseRenderer |
||
| 28 | */ |
||
| 29 | 2 | public function setSerializer(BaseSerializer $serializer) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * |
||
| 37 | * @param HttpRequest $request |
||
| 38 | * @return \Solvire\API\Representatives\RepresentationControllers |
||
| 39 | */ |
||
| 40 | 1 | public function setRequest($request) |
|
| 45 | |||
| 46 | /** |
||
| 47 | */ |
||
| 48 | public function getRequest() |
||
| 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..