1 | <?php |
||
7 | class ArrayAdapter extends AbstractSource |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * |
||
12 | * @var \ArrayObject |
||
13 | */ |
||
14 | protected $arraySource; |
||
15 | |||
16 | /** |
||
17 | * |
||
18 | * @var \Zend\Paginator\Paginator |
||
19 | */ |
||
20 | protected $paginator; |
||
21 | |||
22 | /** |
||
23 | * |
||
24 | * @param \ArrayObject $arraySource |
||
25 | */ |
||
26 | public function __construct($arraySource) |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | * @return \Zend\Paginator\Paginator |
||
34 | */ |
||
35 | public function getPaginator() |
||
49 | |||
50 | |||
51 | protected function order() |
||
77 | |||
78 | |||
79 | public function getSource() |
||
83 | } |
||
84 |
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..