@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * Returns if the given $value is considered empty by the field type. |
189 | 189 | * |
190 | - * @param mixed $value |
|
190 | + * @param SPIValue $value |
|
191 | 191 | * |
192 | 192 | * @return bool |
193 | 193 | */ |
@@ -211,7 +211,7 @@ |
||
211 | 211 | * |
212 | 212 | * @param \eZ\Publish\Core\FieldType\RelationList\Value $value |
213 | 213 | * |
214 | - * @return array |
|
214 | + * @return boolean |
|
215 | 215 | */ |
216 | 216 | protected function getSortInfo(BaseValue $value) |
217 | 217 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * NOT take care for test case wide caching of the field type, just return |
30 | 30 | * a new instance from this method! |
31 | 31 | * |
32 | - * @return FieldType |
|
32 | + * @return Time |
|
33 | 33 | */ |
34 | 34 | protected function createFieldTypeUnderTest() |
35 | 35 | { |
@@ -228,6 +228,9 @@ discard block |
||
228 | 228 | return __DIR__ . '/../../../../../../var'; |
229 | 229 | } |
230 | 230 | |
231 | + /** |
|
232 | + * @param string $sourceDir |
|
233 | + */ |
|
231 | 234 | protected function cleanupVarDir($sourceDir) |
232 | 235 | { |
233 | 236 | $fs = new Filesystem(); |
@@ -312,7 +315,7 @@ discard block |
||
312 | 315 | /** |
313 | 316 | * Applies the given SQL $statements to the database in use. |
314 | 317 | * |
315 | - * @param array $statements |
|
318 | + * @param string[] $statements |
|
316 | 319 | */ |
317 | 320 | protected function applyStatements(array $statements) |
318 | 321 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
25 | 25 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
26 | 26 | * |
27 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
27 | + * @return Search\Field[] |
|
28 | 28 | */ |
29 | 29 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
30 | 30 | { |
@@ -100,7 +100,7 @@ |
||
100 | 100 | * |
101 | 101 | * @param \eZ\Publish\Core\FieldType\Keyword\Value $value |
102 | 102 | * |
103 | - * @return array |
|
103 | + * @return string |
|
104 | 104 | */ |
105 | 105 | protected function getSortInfo(BaseValue $value) |
106 | 106 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
25 | 25 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
26 | 26 | * |
27 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
27 | + * @return Search\Field[] |
|
28 | 28 | */ |
29 | 29 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
30 | 30 | { |
@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * Returns if the given $value is considered empty by the field type. |
189 | 189 | * |
190 | - * @param mixed $value |
|
190 | + * @param SPIValue $value |
|
191 | 191 | * |
192 | 192 | * @return bool |
193 | 193 | */ |
@@ -43,8 +43,6 @@ |
||
43 | 43 | * |
44 | 44 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
45 | 45 | * |
46 | - * @param string|array(string) $... Either a string with a logical expression name |
|
47 | - * or an array with logical expressions. |
|
48 | 46 | * |
49 | 47 | * @return \eZ\Publish\Core\Persistence\Database\DeleteQuery |
50 | 48 | */ |