@@ -31,6 +31,7 @@ |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * @inheritdoc |
| 34 | + * @param integer[] $locationIds |
|
| 34 | 35 | */ |
| 35 | 36 | public function purge($locationIds) |
| 36 | 37 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * @param string $tag The tag key |
| 98 | 98 | * @param string $digest The digest hash to store representing the cache item. |
| 99 | 99 | * |
| 100 | - * @return bool|void |
|
| 100 | + * @return false|null |
|
| 101 | 101 | */ |
| 102 | 102 | private function saveTag($tag, $digest) |
| 103 | 103 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | * |
| 132 | 132 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 133 | 133 | * |
| 134 | - * @return bool True if purge was successful. False otherwise |
|
| 134 | + * @return boolean|null True if purge was successful. False otherwise |
|
| 135 | 135 | */ |
| 136 | 136 | public function purgeByRequest(Request $request) |
| 137 | 137 | { |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * |
| 174 | 174 | * @deprecated Use cache:clear, with multi tagging theoretically there shouldn't be need to delete all anymore from core. |
| 175 | 175 | * |
| 176 | - * @return bool |
|
| 176 | + * @return boolean|null |
|
| 177 | 177 | */ |
| 178 | 178 | public function purgeAllContent() |
| 179 | 179 | { |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | * |
| 187 | 187 | * @param string $tag |
| 188 | 188 | * |
| 189 | - * @return bool |
|
| 189 | + * @return false|null |
|
| 190 | 190 | */ |
| 191 | 191 | private function purgeByCacheTag($tag) |
| 192 | 192 | { |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * |
| 18 | 18 | * @deprecate Since 6.4 |
| 19 | 19 | * |
| 20 | - * @param mixed $cacheElements Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
| 20 | + * @return void |
|
| 21 | 21 | */ |
| 22 | 22 | public function purge($locationIds); |
| 23 | 23 | |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | * @since 6.4 |
| 28 | 28 | * |
| 29 | 29 | * @param string[] $tags Tags that |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function purgeByTags(array $tags); |
| 32 | 33 | |
@@ -34,6 +35,7 @@ discard block |
||
| 34 | 35 | * Purges all content elements currently in cache. |
| 35 | 36 | * |
| 36 | 37 | * @deprecated Use cache:clear, with multi tagging theoretically there shouldn't be need to delete all anymore from core. |
| 38 | + * @return void |
|
| 37 | 39 | */ |
| 38 | 40 | public function purgeAll(); |
| 39 | 41 | } |