@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * Find a single row by ID. |
158 | 158 | * |
159 | - * @param mixed $id |
|
159 | + * @param string $id |
|
160 | 160 | * @param bool $includeData |
161 | 161 | * |
162 | 162 | * @return array|null |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | /** |
198 | 198 | * Gets an array of the fields in our table. |
199 | 199 | * |
200 | - * @return array |
|
200 | + * @return string[] |
|
201 | 201 | */ |
202 | 202 | private function getFields() |
203 | 203 | { |
@@ -69,6 +69,9 @@ discard block |
||
69 | 69 | ]; |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param integer $pathLength |
|
74 | + */ |
|
72 | 75 | private static function getBasePathForWindowsPathLengthTests($pathLength) |
73 | 76 | { |
74 | 77 | return FileCacheTest::getBasePathForWindowsPathLengthTests($pathLength); |
@@ -78,7 +81,7 @@ discard block |
||
78 | 81 | * @param int $length |
79 | 82 | * @param string $basePath |
80 | 83 | * |
81 | - * @return array |
|
84 | + * @return string[] |
|
82 | 85 | */ |
83 | 86 | private static function getKeyAndPathFittingLength($length, $basePath) |
84 | 87 | { |
@@ -170,7 +170,7 @@ |
||
170 | 170 | * @param int $length |
171 | 171 | * @param string $basePath |
172 | 172 | * |
173 | - * @return array |
|
173 | + * @return string[] |
|
174 | 174 | */ |
175 | 175 | public static function getKeyAndPathFittingLength($length, $basePath) |
176 | 176 | { |
@@ -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 |
@@ -40,7 +40,6 @@ discard block |
||
40 | 40 | /** |
41 | 41 | * Fetches an entry by tag from the cache. |
42 | 42 | * |
43 | - * @param string $id The id of the cache entry to fetch. |
|
44 | 43 | * |
45 | 44 | * @return mixed The cached data or FALSE, if no cache entry exists for the given id. |
46 | 45 | */ |
@@ -59,7 +58,8 @@ discard block |
||
59 | 58 | /** |
60 | 59 | * Deletes a cache entries marked by tags. |
61 | 60 | * |
62 | - * @param array $tag The tag id's. |
|
61 | + * @param array $tags The tag id's. |
|
62 | + * @return void |
|
63 | 63 | */ |
64 | 64 | public function deleteByTags(array $tags = []); |
65 | 65 | } |