1 | <?php namespace OutlookRestClient\Facade\Responses; |
||
19 | abstract class AbstractResponse |
||
20 | { |
||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $content = []; |
||
25 | |||
26 | /** |
||
27 | * AbstractResponse constructor. |
||
28 | * @param string $body |
||
29 | */ |
||
30 | public function __construct($body) |
||
34 | |||
35 | /** |
||
36 | * @param string $prop_name |
||
37 | * @return mixed|null |
||
38 | */ |
||
39 | protected function getProperty($prop_name){ |
||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getId(){ |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | public function getChangeKey(){ |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getETag(){ |
||
62 | |||
63 | /** |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getDataId(){ |
||
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | public function getContext(){ |
||
76 | } |
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..