Skip to content

Commit

Permalink
fixed AdapterOptions::setNamespace
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-mabe committed Dec 23, 2011
1 parent 8b7d84a commit 3fb6351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Cache/Storage/Adapter/AdapterOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class AdapterOptions extends Options

/**
* Cast to array
*
*
* @return array
*/
public function toArray()
Expand Down Expand Up @@ -178,7 +178,7 @@ public function getKeyPattern()
*/
public function setNamespace($namespace)
{
$nameapace = (string)$namespace;
$namespace = (string)$namespace;
if ($namespace === '') {
throw new Exception\InvalidArgumentException('No namespace given');
}
Expand Down

0 comments on commit 3fb6351

Please sign in to comment.