| 1 | <?php |
||
| 16 | class ErrorProcessor extends ProcessorA implements ErrorProcessorInterface { |
||
| 17 | /** |
||
| 18 | * @var ErrorModel |
||
| 19 | */ |
||
| 20 | private $model; |
||
| 21 | |||
| 22 | 3 | public function getErrorCode() { |
|
| 32 | |||
| 33 | 10 | public function __construct(\Exception $e = null) { |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return ErrorModel |
||
| 47 | */ |
||
| 48 | 2 | public function getModel() { |
|
| 51 | |||
| 52 | public function init() {} |
||
| 53 | |||
| 54 | 10 | public function setException(\Exception $e = null) { |
|
| 61 | |||
| 62 | 1 | public function handleRequest(HttpRequestA $oHttpRequest) { |
|
| 65 | } |
||
| 66 |
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..