@@ -334,7 +334,7 @@ |
||
| 334 | 334 | * |
| 335 | 335 | * @param string $id The id of the cache entry to fetch. |
| 336 | 336 | * |
| 337 | - * @return mixed|false The cached data or FALSE, if no cache entry exists for the given id. |
|
| 337 | + * @return string The cached data or FALSE, if no cache entry exists for the given id. |
|
| 338 | 338 | */ |
| 339 | 339 | abstract protected function doFetch($id); |
| 340 | 340 | |
@@ -227,9 +227,9 @@ |
||
| 227 | 227 | |
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | - * @param $prefix |
|
| 231 | - * @return array |
|
| 232 | - */ |
|
| 230 | + * @param $prefix |
|
| 231 | + * @return array |
|
| 232 | + */ |
|
| 233 | 233 | public function deleteByPrefix($prefix) |
| 234 | 234 | { |
| 235 | 235 | $prefix = $this->getNamespacedIdDelete($prefix); |
@@ -78,12 +78,12 @@ |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | |
| 81 | - /** |
|
| 82 | - * Deletes all cache entries beginning with the given string. |
|
| 83 | - * |
|
| 84 | - * @param string $prefix |
|
| 85 | - * @return array An array of deleted cache ids |
|
| 86 | - */ |
|
| 81 | + /** |
|
| 82 | + * Deletes all cache entries beginning with the given string. |
|
| 83 | + * |
|
| 84 | + * @param string $prefix |
|
| 85 | + * @return array An array of deleted cache ids |
|
| 86 | + */ |
|
| 87 | 87 | public function deleteByPrefix($prefix) |
| 88 | 88 | { |
| 89 | 89 | $deleted = array (); |