Add curly braces

This commit is contained in:
Romain Neutron
2012-04-26 01:55:12 +02:00
parent ade22295ad
commit 33b10d6746
86 changed files with 2969 additions and 2698 deletions

View File

@@ -131,10 +131,11 @@ class registry implements registryInterface
if ( ! $this->cache->contains($key))
$this->load();
if ( ! $this->cache->contains($key) && ! is_null($defaultvalue))
if ( ! $this->cache->contains($key) && ! is_null($defaultvalue)) {
return $defaultvalue;
else
return $this->cache->fetch($key);
}
return $this->cache->fetch($key);
}
/**