@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * |
| 38 | 38 | * @param \eZ\Publish\SPI\Search\Field $field |
| 39 | 39 | * |
| 40 | - * @return mixed|null Returns null on empty value |
|
| 40 | + * @return null|string Returns null on empty value |
|
| 41 | 41 | */ |
| 42 | 42 | public function map(Field $field) |
| 43 | 43 | { |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use eZ\Publish\Core\Search\Common\FieldValueMapper; |
| 14 | 14 | use eZ\Publish\SPI\Search\FieldType\GeoLocationField; |
| 15 | 15 | use eZ\Publish\SPI\Search\Field; |
| 16 | -use eZ\Publish\SPI\Search\FieldType; |
|
| 17 | 16 | |
| 18 | 17 | /** |
| 19 | 18 | * Maps raw field values to something search engine can understand. |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | private static $contentId = 42; |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * @return mixed |
|
| 16 | + * @return integer |
|
| 17 | 17 | */ |
| 18 | 18 | public static function getContentId() |
| 19 | 19 | { |