@@ -224,7 +224,7 @@ |
||
224 | 224 | * |
225 | 225 | * @param string $id The cache id to retrieve. |
226 | 226 | * @param float $cas_token The variable to store the CAS token in. |
227 | - * @return mixed|null Returns the cached data or null. |
|
227 | + * @return string Returns the cached data or null. |
|
228 | 228 | */ |
229 | 229 | public function get($id, &$cas_token=null) |
230 | 230 | { |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | * Build and return the path of a directory |
132 | 132 | * |
133 | 133 | * @param string $path The directory path to build |
134 | - * @return mixed |
|
134 | + * @return string |
|
135 | 135 | */ |
136 | 136 | protected function buildPath($path) |
137 | 137 | { |
@@ -355,7 +355,7 @@ discard block |
||
355 | 355 | * |
356 | 356 | * @param boolean $all Wether to flush the whole database, or (preferably) |
357 | 357 | * the entries prefixed with prefix_key and prefix_tag. |
358 | - * @return boolean Returns True on success or False on failure. |
|
358 | + * @return boolean|null Returns True on success or False on failure. |
|
359 | 359 | */ |
360 | 360 | public function flush($all = false) |
361 | 361 | { |
@@ -169,7 +169,7 @@ |
||
169 | 169 | * |
170 | 170 | * @param boolean $all Wether to flush the whole database, or (preferably) |
171 | 171 | * the entries prefixed with prefix_key and prefix_tag. |
172 | - * @return boolean Returns True on success or False on failure. |
|
172 | + * @return boolean|null Returns True on success or False on failure. |
|
173 | 173 | */ |
174 | 174 | public function flush($all = false) |
175 | 175 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | * from the pool. |
56 | 56 | * @param string $key The item key |
57 | 57 | * @param mixed $value The item value (unserialized) |
58 | - * @param \DateTime|integer|null $ttl |
|
58 | + * @param integer|null $ttl |
|
59 | 59 | * @param bool $hit Was this item retrived from cache? |
60 | 60 | */ |
61 | 61 | public function __construct($key, $value = null, $ttl = null, $hit = false) |