| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function init($nocache = true, $clientTimeout = 20000) |
||
| 23 | { |
||
| 24 | $timeoutInSeconds = (int)($clientTimeout / 1000); |
||
| 25 | |||
| 26 | if ($nocache) { |
||
| 27 | $this->guzzleClient = new phmGuzzleClient(null, $timeoutInSeconds); |
||
| 28 | } else { |
||
| 29 | $guzzleClient = new phmGuzzleClient(null, $timeoutInSeconds); |
||
| 30 | $this->guzzleClient = new FileCacheDecorator($guzzleClient); |
||
|
|
|||
| 31 | } |
||
| 32 | } |
||
| 33 | |||
| 59 |
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..