@@ -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 |      { | 
                                                        
@@ -8,11 +8,10 @@  | 
                                                    ||
| 8 | 8 | */  | 
                                                        
| 9 | 9 | namespace eZ\Publish\API\Repository\Tests;  | 
                                                        
| 10 | 10 | |
| 11 | -use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch as LegacyElasticsearchSetupFactory;  | 
                                                        |
| 11 | +use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch;  | 
                                                        |
| 12 | 12 | use eZ\Publish\API\Repository\Values\Content\ContentInfo;  | 
                                                        
| 13 | 13 | use eZ\Publish\API\Repository\Exceptions\NotFoundException;  | 
                                                        
| 14 | 14 | use eZ\Publish\API\Repository\SearchService;  | 
                                                        
| 15 | -use eZ\Publish\API\Repository\Tests\SetupFactory\LegacyElasticsearch;  | 
                                                        |
| 16 | 15 | use eZ\Publish\API\Repository\Values\Content\LocationQuery;  | 
                                                        
| 17 | 16 | use eZ\Publish\API\Repository\Values\Content\Query;  | 
                                                        
| 18 | 17 | use eZ\Publish\API\Repository\Values\Content\Query\Criterion;  | 
                                                        
@@ -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 | */  |