Skip to content

Commit

Permalink
QA
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoch committed Sep 24, 2012
1 parent 37d3d6f commit e091a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/Koch/Config/AbstractConfig.php
Expand Up @@ -184,11 +184,11 @@ public function offsetGet($offset)
if (true === isset($this->config[$offset])) {
return $this->config[$offset];
} else {
if(DEBUG === true) {
if (DEBUG === true) {
throw new \InvalidArgumentException(sprintf('Array Key "%s" is not defined.', $offset));
} else {
return false;
}
}
}
}

Expand Down

0 comments on commit e091a54

Please sign in to comment.