@@ -183,6 +183,9 @@ |
||
183 | 183 | return $this->createTestContent('eng-US', $fieldValues); |
184 | 184 | } |
185 | 185 | |
186 | + /** |
|
187 | + * @param string $initialLanguageCode |
|
188 | + */ |
|
186 | 189 | protected function updateTestContent($initialLanguageCode, array $fieldValues) |
187 | 190 | { |
188 | 191 | $repository = $this->getRepository(); |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return CheckboxValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | /** |
164 | 164 | * Get update field externals data. |
165 | 165 | * |
166 | - * @return array |
|
166 | + * @return CheckboxValue |
|
167 | 167 | */ |
168 | 168 | public function getValidUpdateFieldData() |
169 | 169 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * Get initial field data for valid object creation. |
153 | 153 | * |
154 | - * @return mixed |
|
154 | + * @return ImageValue |
|
155 | 155 | */ |
156 | 156 | public function getValidCreationFieldData() |
157 | 157 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * Get update field externals data. |
235 | 235 | * |
236 | - * @return array |
|
236 | + * @return ImageValue |
|
237 | 237 | */ |
238 | 238 | public function getValidUpdateFieldData() |
239 | 239 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return MapLocationValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | /** |
193 | 193 | * Get update field externals data. |
194 | 194 | * |
195 | - * @return array |
|
195 | + * @return MapLocationValue |
|
196 | 196 | */ |
197 | 197 | public function getValidUpdateFieldData() |
198 | 198 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get initial field data for valid object creation. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return RatingValue |
|
102 | 102 | */ |
103 | 103 | public function getValidCreationFieldData() |
104 | 104 | { |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | /** |
167 | 167 | * Get update field externals data. |
168 | 168 | * |
169 | - * @return array |
|
169 | + * @return RatingValue |
|
170 | 170 | */ |
171 | 171 | public function getValidUpdateFieldData() |
172 | 172 | { |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
38 | 38 | * |
39 | - * @return array|\eZ\Publish\API\Repository\Values\Content\Relation[] |
|
39 | + * @return Relation[] |
|
40 | 40 | */ |
41 | 41 | public function getCreateExpectedRelations(Content $content) |
42 | 42 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
59 | 59 | * |
60 | - * @return array|\eZ\Publish\API\Repository\Values\Content\Relation[] |
|
60 | + * @return Relation[] |
|
61 | 61 | */ |
62 | 62 | public function getUpdateExpectedRelations(Content $content) |
63 | 63 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * Get initial field data for valid object creation. |
153 | 153 | * |
154 | - * @return mixed |
|
154 | + * @return RelationValue |
|
155 | 155 | */ |
156 | 156 | public function getValidCreationFieldData() |
157 | 157 | { |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | /** |
217 | 217 | * Get update field externals data. |
218 | 218 | * |
219 | - * @return array |
|
219 | + * @return RelationValue |
|
220 | 220 | */ |
221 | 221 | public function getValidUpdateFieldData() |
222 | 222 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Get initial field externals data. |
107 | 107 | * |
108 | - * @return array |
|
108 | + * @return UserValue |
|
109 | 109 | */ |
110 | 110 | public function getValidCreationFieldData() |
111 | 111 | { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Get update field externals data. |
180 | 180 | * |
181 | - * @return array |
|
181 | + * @return UserValue |
|
182 | 182 | */ |
183 | 183 | public function getValidUpdateFieldData() |
184 | 184 | { |
@@ -132,7 +132,7 @@ |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @param array $parentLocationIds |
|
135 | + * @param integer[] $parentLocationIds |
|
136 | 136 | * |
137 | 137 | * @return array |
138 | 138 | */ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * Will match of the given criterion doesn't match |
24 | 24 | * |
25 | - * @param Criterion[] $criteria One criterion, as an array |
|
25 | + * @param Criterion[] $criterion One criterion, as an array |
|
26 | 26 | * |
27 | 27 | * @throws \InvalidArgumentException if more than one criterion is given in the array parameter |
28 | 28 | */ |