| 1 | <?php |
||
| 9 | class ApcuCacheFactory implements CacheFactory |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $version; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $version |
||
| 19 | */ |
||
| 20 | public function __construct($version = null) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritdoc |
||
| 27 | */ |
||
| 28 | public function create($service, array $params = array()) |
||
| 36 | } |
||
| 37 |
This check looks for calls to
isset(...)orempty()on variables that are yet undefined. These calls will always produce the same result and can be removed.This is most likely caused by the renaming of a variable or the removal of a function/method parameter.