* add @method annotations to Cache class

* code beautify
This commit is contained in:
slawkens
2019-05-25 00:20:20 +02:00
parent 933b25194c
commit 7b770e09f7
7 changed files with 44 additions and 28 deletions

View File

@@ -30,8 +30,9 @@ class Cache_eAccelerator
public function get($key)
{
$tmp = '';
if($this->fetch($this->prefix . $key, $tmp))
if($this->fetch($this->prefix . $key, $tmp)) {
return $tmp;
}
return '';
}
@@ -48,4 +49,3 @@ class Cache_eAccelerator
return $this->enabled;
}
}
?>