Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function getPaginator() |
||
36 | { |
||
37 | if (!$this->paginator) { |
||
38 | |||
39 | $this->arraySource = (array) $this->arraySource; |
||
|
|||
40 | $this->order(); |
||
41 | |||
42 | $adapter = new \Zend\Paginator\Adapter\ArrayAdapter((array) $this->arraySource); |
||
43 | $this->paginator = new Paginator($adapter); |
||
44 | $this->initPaginator(); |
||
45 | |||
46 | } |
||
47 | return $this->paginator; |
||
48 | } |
||
49 | |||
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..