1 | <?php |
||
10 | abstract class Presenter extends FractalPresenter |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $meta = []; |
||
16 | |||
17 | /** |
||
18 | * Prepare data to present. |
||
19 | * |
||
20 | * @param $data |
||
21 | * |
||
22 | * @return mixed |
||
23 | * @throws Exception |
||
24 | */ |
||
25 | public function present($data) |
||
42 | |||
43 | /** |
||
44 | * @param array $meta |
||
45 | */ |
||
46 | public function setMeta(array $meta) |
||
50 | } |
||
51 |
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..