From af071f3724e8a15000b2f4c72e140d723699fa71 Mon Sep 17 00:00:00 2001 From: Oskar Bley Date: Tue, 16 Dec 2014 21:51:46 +0100 Subject: [PATCH] cs fixes for Zend\Cache --- src/Storage/Adapter/Dba.php | 3 +- src/Storage/Capabilities.php | 56 ++++++++++++++++++------------------ 2 files changed, 30 insertions(+), 29 deletions(-) diff --git a/src/Storage/Adapter/Dba.php b/src/Storage/Adapter/Dba.php index bb2860d7c..aabaf38cc 100644 --- a/src/Storage/Adapter/Dba.php +++ b/src/Storage/Adapter/Dba.php @@ -225,7 +225,8 @@ public function clearByNamespace($namespace) $this->_open(); - do { // Workaround for PHP-Bug #62491 & #62492 + do { + // Workaround for PHP-Bug #62491 & #62492 $recheck = false; $internalKey = dba_firstkey($this->handle); while ($internalKey !== false && $internalKey !== null) { diff --git a/src/Storage/Capabilities.php b/src/Storage/Capabilities.php index c81e08cbd..cce081a33 100644 --- a/src/Storage/Capabilities.php +++ b/src/Storage/Capabilities.php @@ -40,8 +40,8 @@ class Capabilities /** * Expire read * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|bool */ @@ -50,8 +50,8 @@ class Capabilities /** * Max. key length * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|int */ @@ -60,8 +60,8 @@ class Capabilities /** * Min. TTL (0 means items never expire) * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|int */ @@ -70,8 +70,8 @@ class Capabilities /** * Max. TTL (0 means infinite) * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|int */ @@ -80,8 +80,8 @@ class Capabilities /** * Namespace is prefix * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|bool */ @@ -90,8 +90,8 @@ class Capabilities /** * Namespace separator * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|string */ @@ -100,28 +100,28 @@ class Capabilities /** * Static ttl * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|bool */ protected $staticTtl; - /** - * Supported datatypes - * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. - * - * @var null|array - */ + /** + * Supported datatypes + * + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. + * + * @var null|array + */ protected $supportedDatatypes; /** * Supported metdata * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|array */ @@ -130,8 +130,8 @@ class Capabilities /** * TTL precision * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|int */ @@ -140,8 +140,8 @@ class Capabilities /** * Use request time * - * If it's NULL the capability isn't set and the getter - * returns the base capability or the default value. + * If it's NULL the capability isn't set and the getter + * returns the base capability or the default value. * * @var null|bool */