Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 10 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function init($host = 'localhost', $port = 4444, $nocache = false) |
||
19 | { |
||
20 | if ($nocache) { |
||
21 | $this->chromeClient = new phmChromeClient($host, $port); |
||
22 | } else { |
||
23 | $chromeClient = new phmChromeClient($host, $port); |
||
24 | $cachedClient = new FileCacheDecorator($chromeClient); |
||
25 | $this->chromeClient = new LoggerDecorator($cachedClient); |
||
|
|||
26 | } |
||
27 | } |
||
28 | |||
54 |
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..