@@ -270,9 +270,9 @@ |
||
270 | 270 | * Return relevant content and location tags so cache can be purged reliably. |
271 | 271 | * |
272 | 272 | * @param Location $location |
273 | - * @param array $tags Optional, can be used to specify additional tags. |
|
273 | + * @param string[] $tags Optional, can be used to specify additional tags. |
|
274 | 274 | * |
275 | - * @return array |
|
275 | + * @return string[] |
|
276 | 276 | */ |
277 | 277 | private function getCacheTags(Location $location, $tags = []) |
278 | 278 | { |
@@ -369,7 +369,7 @@ |
||
369 | 369 | * @param bool $withFields Set to true if item contains fields which should be expired on relation or type updates. |
370 | 370 | * @param array $tags Optional, can be used to specify other tags. |
371 | 371 | * |
372 | - * @return array |
|
372 | + * @return string[] |
|
373 | 373 | */ |
374 | 374 | private function getCacheTags(ContentInfo $contentInfo, $withFields = false, array $tags = []) |
375 | 375 | { |
@@ -109,7 +109,7 @@ |
||
109 | 109 | } |
110 | 110 | |
111 | 111 | /** |
112 | - * @param $key |
|
112 | + * @param string $key |
|
113 | 113 | * @param null $value If null the cache item will be assumed to be a cache miss here. |
114 | 114 | * @param int $defaultLifetime |
115 | 115 | * |
@@ -447,9 +447,9 @@ |
||
447 | 447 | * Reusable function to return relevant role assignment tags so cache can be purged reliably. |
448 | 448 | * |
449 | 449 | * @param \eZ\Publish\SPI\Persistence\User\RoleAssignment $roleAssignment |
450 | - * @param array $tags Optional, can be used to specify other tags. |
|
450 | + * @param string[] $tags Optional, can be used to specify other tags. |
|
451 | 451 | * |
452 | - * @return array |
|
452 | + * @return string[] |
|
453 | 453 | */ |
454 | 454 | private function getCacheTagsForRoleAssignment(RoleAssignment $roleAssignment, array $tags = []) |
455 | 455 | { |