Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'cs/zendframework/zendframework#7047-zend-cache-psr2-com…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Dec 16, 2014
2 parents 8e5ae36 + af071f3 commit 624cae1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
3 changes: 2 additions & 1 deletion src/Storage/Adapter/Dba.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
56 changes: 28 additions & 28 deletions src/Storage/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand Down

0 comments on commit 624cae1

Please sign in to comment.