diff --git a/Zend/Cache/Backend.php b/Zend/Cache/Backend.php index 86c7479..663ca6a 100644 --- a/Zend/Cache/Backend.php +++ b/Zend/Cache/Backend.php @@ -65,7 +65,7 @@ public function __construct($options = []) if (!is_array($options)) { Zend_Cache::throwException('Options parameter must be an array'); } - while (list($name, $value) = each($options)) { + foreach ($options as $name => $value) { $this->setOption($name, $value); } } diff --git a/composer.json b/composer.json index 49058a8..23c2cbc 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "web-monster/dklabcache", + "name": "livestreet/dklabcache", "license": "MIT", "description": "Dklabcache for composer", "keywords": ["cache", "caching", "system", "file-system", "redis"],