@@ -49,7 +49,7 @@ |
||
49 | 49 | /** |
50 | 50 | * Get handler with required custom field types registered. |
51 | 51 | * |
52 | - * @return Handler |
|
52 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
53 | 53 | */ |
54 | 54 | public function getCustomHandler() |
55 | 55 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | /** |
50 | 50 | * Get handler with required custom field types registered. |
51 | 51 | * |
52 | - * @return Handler |
|
52 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
53 | 53 | */ |
54 | 54 | public function getCustomHandler() |
55 | 55 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Triggers the cache purge $locationIds. |
32 | 32 | * |
33 | - * @param mixed $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
33 | + * @param integer[] $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
34 | 34 | */ |
35 | 35 | public function purge($locationIds) |
36 | 36 | { |
@@ -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 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * Register a $converter for $typeName. |
43 | 43 | * |
44 | 44 | * @param string $typeName |
45 | - * @param mixed $converter Callable or converter instance |
|
45 | + * @param Converter $converter Callable or converter instance |
|
46 | 46 | */ |
47 | 47 | public function register($typeName, $converter) |
48 | 48 | { |
@@ -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 | * |
@@ -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 |