@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
69 | 69 | * |
70 | - * @return \eZ\Publish\Core\Repository\Values\Content\Relation[] |
|
70 | + * @return Relation[] |
|
71 | 71 | */ |
72 | 72 | public function getCreateExpectedRelations(Content $content) |
73 | 73 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
110 | 110 | * |
111 | - * @return \eZ\Publish\Core\Repository\Values\Content\Relation[] |
|
111 | + * @return Relation[] |
|
112 | 112 | */ |
113 | 113 | public function getUpdateExpectedRelations(Content $content) |
114 | 114 | { |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | /** |
222 | 222 | * Get initial field data for valid object creation. |
223 | 223 | * |
224 | - * @return mixed |
|
224 | + * @return XmlTextValue |
|
225 | 225 | */ |
226 | 226 | public function getValidCreationFieldData() |
227 | 227 | { |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | /** |
301 | 301 | * Get update field externals data. |
302 | 302 | * |
303 | - * @return array |
|
303 | + * @return XmlTextValue |
|
304 | 304 | */ |
305 | 305 | public function getValidUpdateFieldData() |
306 | 306 | { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * Process embed tags for a single tag type (embed or embed-inline). |
86 | 86 | * |
87 | 87 | * @param \DOMDocument $xmlDoc |
88 | - * @param $tagName string name of the tag to extract |
|
88 | + * @param string $tagName string name of the tag to extract |
|
89 | 89 | */ |
90 | 90 | protected function processTag(DOMDocument $xmlDoc, $tagName) |
91 | 91 | { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
27 | 27 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
28 | 28 | * |
29 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
29 | + * @return Search\Field[] |
|
30 | 30 | */ |
31 | 31 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
32 | 32 | { |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | * |
170 | 170 | * @param \eZ\Publish\Core\FieldType\XmlText\Value $value |
171 | 171 | * |
172 | - * @return array|bool |
|
172 | + * @return boolean |
|
173 | 173 | */ |
174 | 174 | protected function getSortInfo(BaseValue $value) |
175 | 175 | { |
@@ -309,7 +309,6 @@ discard block |
||
309 | 309 | * Not intended for \eZ\Publish\API\Repository\Values\Content\Relation::COMMON type relations, |
310 | 310 | * there is a service API for handling those. |
311 | 311 | * |
312 | - * @param \eZ\Publish\Core\FieldType\XmlText\Value $fieldValue |
|
313 | 312 | * |
314 | 313 | * @return array Hash with relation type as key and array of destination content ids as value. |
315 | 314 | * |
@@ -114,7 +114,7 @@ |
||
114 | 114 | * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo |
115 | 115 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
116 | 116 | * |
117 | - * @return bool |
|
117 | + * @return null|boolean |
|
118 | 118 | */ |
119 | 119 | public function storeFieldData(VersionInfo $versionInfo, Field $field) |
120 | 120 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | /** |
42 | 42 | * Create user. |
43 | 43 | * |
44 | - * @param user $user |
|
44 | + * @param User $user |
|
45 | 45 | * |
46 | 46 | * @return mixed |
47 | 47 | */ |
@@ -13,8 +13,8 @@ discard block |
||
13 | 13 | /** |
14 | 14 | * Registers $queryType. |
15 | 15 | * |
16 | - * @param string $name |
|
17 | 16 | * @param \eZ\Publish\Core\QueryType\QueryType $queryType |
17 | + * @return void |
|
18 | 18 | */ |
19 | 19 | public function addQueryType(QueryType $queryType); |
20 | 20 | |
@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | * Registers QueryTypes from the $queryTypes array. |
23 | 23 | * |
24 | 24 | * @param \eZ\Publish\Core\QueryType\QueryType[] $queryTypes An array of QueryTypes. |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function addQueryTypes(array $queryTypes); |
27 | 28 |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |