mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
* add @method annotations to Cache class
* code beautify
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user