Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
5 | class ChainManager |
||
6 | { |
||
7 | /** |
||
8 | * @var \Imanghafoori\HeyMan\Chain |
||
9 | */ |
||
10 | private $chainInfo = []; |
||
11 | |||
12 | public function startChain() |
||
13 | { |
||
14 | 105 | $this->chainInfo = []; |
|
|
|||
15 | } |
||
16 | 105 | ||
17 | public function get($key) |
||
20 | } |
||
21 | |||
22 | 105 | public function set($key, $value) |
|
25 | } |
||
26 | 96 | ||
27 | 96 | public function push($key, $value) |
|
30 | 104 | } |
|
31 | } |
||
32 |
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..