@@ -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 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | namespace eZ\Publish\Core\Persistence\Cache; |
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Exceptions\NotFoundException; |
|
| 12 | 11 | use eZ\Publish\SPI\Persistence\User\Handler as UserHandlerInterface; |
| 13 | 12 | use eZ\Publish\SPI\Persistence\User; |
| 14 | 13 | use eZ\Publish\SPI\Persistence\User\Role; |
@@ -82,7 +82,6 @@ discard block |
||
| 82 | 82 | * @todo Define behaviour on missing item. |
| 83 | 83 | * |
| 84 | 84 | * @param array $contentIds |
| 85 | - * @param array|null $languagePriority (@todo this will be added in some form as part of language work) |
|
| 86 | 85 | * |
| 87 | 86 | * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo[] |
| 88 | 87 | */ |
@@ -227,6 +226,7 @@ discard block |
||
| 227 | 226 | * \eZ\Publish\API\Repository\Values\Content\Relation::EMBED, |
| 228 | 227 | * \eZ\Publish\API\Repository\Values\Content\Relation::LINK, |
| 229 | 228 | * \eZ\Publish\API\Repository\Values\Content\Relation::FIELD} |
| 229 | + * @return void |
|
| 230 | 230 | */ |
| 231 | 231 | public function removeRelation($relationId, $type); |
| 232 | 232 | |
@@ -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 | * |
@@ -8,8 +8,6 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | namespace eZ\Publish\Core\Persistence\Cache\Tests; |
| 10 | 10 | |
| 11 | -use PHPUnit_Framework_TestCase; |
|
| 12 | - |
|
| 13 | 11 | /** |
| 14 | 12 | * Test case for Persistence\Cache\Handler. |
| 15 | 13 | */ |
@@ -51,7 +51,6 @@ discard block |
||
| 51 | 51 | * @todo Define behaviour on missing item. |
| 52 | 52 | * |
| 53 | 53 | * @param array $groupIds |
| 54 | - * @param array|null $languagePriority (@todo this will be added in some form as part of language work) |
|
| 55 | 54 | * |
| 56 | 55 | * @return \eZ\Publish\SPI\Persistence\Content\Type\Group[] |
| 57 | 56 | */ |
@@ -252,6 +251,7 @@ discard block |
||
| 252 | 251 | * @param mixed $fieldDefinitionId |
| 253 | 252 | * |
| 254 | 253 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If field is not found |
| 254 | + * @return null|boolean |
|
| 255 | 255 | */ |
| 256 | 256 | public function removeFieldDefinition($contentTypeId, $status, $fieldDefinitionId); |
| 257 | 257 | |