| 1 | <?php |
||
| 15 | class YiiCache extends AbstractCache |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var Cache |
||
| 19 | */ |
||
| 20 | protected $yiiCache; |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $key; |
||
| 25 | /** |
||
| 26 | * @var integer |
||
| 27 | */ |
||
| 28 | protected $duration; |
||
| 29 | /** |
||
| 30 | * @param Cache $cache |
||
| 31 | * @param string $key |
||
| 32 | * @param integer $duration |
||
| 33 | */ |
||
| 34 | public function __construct(Cache $cache, $key = 'flysystem', $duration = 0) |
||
| 40 | /** |
||
| 41 | * @inheritdoc |
||
| 42 | */ |
||
| 43 | public function load() |
||
| 50 | /** |
||
| 51 | * @inheritdoc |
||
| 52 | */ |
||
| 53 | public function save() |
||
| 57 | } |
||
| 58 |
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..