| 1 | <?php |
||
| 26 | class MissingParams extends Response |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @var string Indicates the type of this message. |
||
| 30 | */ |
||
| 31 | private $type; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var array A list of the missing parameters |
||
| 35 | */ |
||
| 36 | private $params; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return string Indicates the type of this message. |
||
| 40 | */ |
||
| 41 | public function getType() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return array A list of the missing parameters |
||
| 48 | */ |
||
| 49 | public function getParams() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param string $response |
||
| 56 | */ |
||
| 57 | public function __construct($response) |
||
| 64 | } |
||
| 65 |
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..