@@ -861,7 +861,7 @@ |
||
861 | 861 | * Asserts that the given $actualDefinition is correctly created from the |
862 | 862 | * create struct in $expectedCreate. |
863 | 863 | * |
864 | - * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedDefinitionCreate |
|
864 | + * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedCreate |
|
865 | 865 | * @param \eZ\Publish\API\Repository\Values\FieldDefinition $actualDefinition |
866 | 866 | */ |
867 | 867 | protected function assertFieldDefinitionsEqual($expectedCreate, $actualDefinition) |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | /** |
101 | 101 | * Get initial field data for valid object creation. |
102 | 102 | * |
103 | - * @return mixed |
|
103 | + * @return AuthorValue |
|
104 | 104 | */ |
105 | 105 | public function getValidCreationFieldData() |
106 | 106 | { |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | /** |
185 | 185 | * Get update field externals data. |
186 | 186 | * |
187 | - * @return array |
|
187 | + * @return AuthorValue |
|
188 | 188 | */ |
189 | 189 | public function getValidUpdateFieldData() |
190 | 190 | { |
@@ -482,6 +482,7 @@ |
||
482 | 482 | * Creates content with $fieldData. |
483 | 483 | * |
484 | 484 | * @param mixed $fieldData |
485 | + * @param Repository\Values\ContentType\ContentType $contentType |
|
485 | 486 | * |
486 | 487 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
487 | 488 | */ |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * Get initial field data for valid object creation. |
158 | 158 | * |
159 | - * @return mixed |
|
159 | + * @return BinaryFileValue |
|
160 | 160 | */ |
161 | 161 | public function getValidCreationFieldData() |
162 | 162 | { |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * Get update field externals data. |
247 | 247 | * |
248 | - * @return array |
|
248 | + * @return BinaryFileValue |
|
249 | 249 | */ |
250 | 250 | public function getValidUpdateFieldData() |
251 | 251 | { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFileValue; |
14 | 14 | use eZ\Publish\API\Repository\Values\Content\Field; |
15 | -use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * Integration test for use field type. |
@@ -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 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Get initial field data for valid object creation. |
107 | 107 | * |
108 | - * @return mixed |
|
108 | + * @return CountryValue |
|
109 | 109 | */ |
110 | 110 | public function getValidCreationFieldData() |
111 | 111 | { |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | /** |
209 | 209 | * Get update field externals data. |
210 | 210 | * |
211 | - * @return array |
|
211 | + * @return CountryValue |
|
212 | 212 | */ |
213 | 213 | public function getValidUpdateFieldData() |
214 | 214 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * Get initial field data for valid object creation. |
118 | 118 | * |
119 | - * @return mixed |
|
119 | + * @return DateAndTimeValue |
|
120 | 120 | */ |
121 | 121 | public function getValidCreationFieldData() |
122 | 122 | { |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | /** |
183 | 183 | * Get update field externals data. |
184 | 184 | * |
185 | - * @return array |
|
185 | + * @return DateAndTimeValue |
|
186 | 186 | */ |
187 | 187 | public function getValidUpdateFieldData() |
188 | 188 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | /** |
108 | 108 | * Get initial field data for valid object creation. |
109 | 109 | * |
110 | - * @return mixed |
|
110 | + * @return DateValue |
|
111 | 111 | */ |
112 | 112 | public function getValidCreationFieldData() |
113 | 113 | { |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | /** |
175 | 175 | * Get valid field data for updating content. |
176 | 176 | * |
177 | - * @return mixed |
|
177 | + * @return DateValue |
|
178 | 178 | */ |
179 | 179 | public function getValidUpdateFieldData() |
180 | 180 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | /** |
105 | 105 | * Get initial field data for valid object creation. |
106 | 106 | * |
107 | - * @return mixed |
|
107 | + * @return EmailAddressValue |
|
108 | 108 | */ |
109 | 109 | public function getValidCreationFieldData() |
110 | 110 | { |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | /** |
190 | 190 | * Get update field externals data. |
191 | 191 | * |
192 | - * @return array |
|
192 | + * @return EmailAddressValue |
|
193 | 193 | */ |
194 | 194 | public function getValidUpdateFieldData() |
195 | 195 | { |