@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * @param callable $backendLoader Function for loading ALL objects, value is cached as-is. |
121 | 121 | * @param callable $cacheTagger Gets cache object as argument, return array of cache tags. |
122 | 122 | * @param callable $cacheIndexes Gets cache object as argument, return array of cache keys. |
123 | - * @param array $tags Optional, global tags for the list cache. |
|
123 | + * @param string[] $tags Optional, global tags for the list cache. |
|
124 | 124 | * @param array $arguments Optional, arguments when parnt method takes arguments that key varies on. |
125 | 125 | * |
126 | 126 | * @return object |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | /** |
283 | 283 | * Invalidate cache by tags. |
284 | 284 | * |
285 | - * @param array $tags |
|
285 | + * @param string[] $tags |
|
286 | 286 | */ |
287 | 287 | final protected function invalidateCache(array $tags): void |
288 | 288 | { |