| @@ -428,7 +428,7 @@ | ||
| 428 | 428 | * | 
| 429 | 429 | * @param \eZ\Publish\Core\FieldType\Value $value | 
| 430 | 430 | * | 
| 431 | - * @return mixed | |
| 431 | + * @return boolean | |
| 432 | 432 | */ | 
| 433 | 433 | protected function getSortInfo(BaseValue $value) | 
| 434 | 434 |      { | 
| @@ -161,7 +161,7 @@ | ||
| 161 | 161 | $rows = $statement->fetchAll(PDO::FETCH_ASSOC); | 
| 162 | 162 | |
| 163 | 163 | return array_map( | 
| 164 | -            function (array $row) { | |
| 164 | +            function(array $row) { | |
| 165 | 165 | return $row['identifier']; | 
| 166 | 166 | }, | 
| 167 | 167 | $rows | 
| @@ -130,7 +130,7 @@ | ||
| 130 | 130 | * Returns the data for the given $fieldId and $versionNo. | 
| 131 | 131 | * | 
| 132 | 132 | * @param mixed $fieldId | 
| 133 | - * @param mixed $versionNo | |
| 133 | + * @param integer $versionNo | |
| 134 | 134 | * | 
| 135 | 135 | * @return array | 
| 136 | 136 | */ | 
| @@ -53,7 +53,7 @@ discard block | ||
| 53 | 53 | * @param array $fieldIds Array of field IDs | 
| 54 | 54 | * @param array $context | 
| 55 | 55 | * | 
| 56 | - * @return bool | |
| 56 | + * @return boolean|null | |
| 57 | 57 | */ | 
| 58 | 58 | public function deleteFieldData(VersionInfo $versionInfo, array $fieldIds, array $context) | 
| 59 | 59 |      { | 
| @@ -79,7 +79,7 @@ discard block | ||
| 79 | 79 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field | 
| 80 | 80 | * @param array $context | 
| 81 | 81 | * | 
| 82 | - * @return \eZ\Publish\SPI\Search\Field[] | |
| 82 | + * @return boolean | |
| 83 | 83 | */ | 
| 84 | 84 | public function getIndexData(VersionInfo $versionInfo, Field $field, array $context) | 
| 85 | 85 |      { | 
| @@ -45,7 +45,7 @@ | ||
| 45 | 45 | * | 
| 46 | 46 | * @param mixed $data | 
| 47 | 47 | * | 
| 48 | - * @return mixed | |
| 48 | + * @return EnhancedSelectionValue | |
| 49 | 49 | */ | 
| 50 | 50 | public function convertFieldValueFromForm($data) | 
| 51 | 51 |      { |