@@ -116,7 +116,7 @@ |
||
| 116 | 116 | * @param \eZ\Publish\API\Repository\Values\ValueObject $object |
| 117 | 117 | * @param \eZ\Publish\API\Repository\Values\ValueObject[]|null $targets The context of the $object, like Location of Content, if null none where provided by caller |
| 118 | 118 | * |
| 119 | - * @return bool |
|
| 119 | + * @return boolean|null |
|
| 120 | 120 | */ |
| 121 | 121 | public function evaluate(APILimitationValue $value, APIUserReference $currentUser, ValueObject $object, array $targets = null) |
| 122 | 122 | { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * |
| 37 | 37 | * @param \eZ\Publish\SPI\Search\Field $field |
| 38 | 38 | * |
| 39 | - * @return mixed |
|
| 39 | + * @return boolean |
|
| 40 | 40 | */ |
| 41 | 41 | public function map(Field $field) |
| 42 | 42 | { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * |
| 35 | 35 | * @param \eZ\Publish\SPI\Search\Field $field |
| 36 | 36 | * |
| 37 | - * @return mixed |
|
| 37 | + * @return integer |
|
| 38 | 38 | */ |
| 39 | 39 | public function map(Field $field) |
| 40 | 40 | { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * |
| 37 | 37 | * @param \eZ\Publish\SPI\Search\Field $field |
| 38 | 38 | * |
| 39 | - * @return mixed |
|
| 39 | + * @return double |
|
| 40 | 40 | */ |
| 41 | 41 | public function map(Field $field) |
| 42 | 42 | { |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | * @param \eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause |
| 80 | 80 | * @param int $number |
| 81 | 81 | * |
| 82 | - * @return string |
|
| 82 | + * @return string[] |
|
| 83 | 83 | */ |
| 84 | 84 | public function applySelect(SelectQuery $query, SortClause $sortClause, $number) |
| 85 | 85 | { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | /** |
| 50 | 50 | * Get handler with required custom field types registered. |
| 51 | 51 | * |
| 52 | - * @return Handler |
|
| 52 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
| 53 | 53 | */ |
| 54 | 54 | public function getCustomHandler() |
| 55 | 55 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * Register a $converter for $typeName. |
| 43 | 43 | * |
| 44 | 44 | * @param string $typeName |
| 45 | - * @param mixed $converter Callable or converter instance |
|
| 45 | + * @param Converter $converter Callable or converter instance |
|
| 46 | 46 | */ |
| 47 | 47 | public function register($typeName, $converter) |
| 48 | 48 | { |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | - * @param $key |
|
| 112 | + * @param string $key |
|
| 113 | 113 | * @param null $value If null the cache item will be assumed to be a cache miss here. |
| 114 | 114 | * @param int $defaultLifetime |
| 115 | 115 | * |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * NOT take care for test case wide caching of the field type, just return |
| 29 | 29 | * a new instance from this method! |
| 30 | 30 | * |
| 31 | - * @return FieldType |
|
| 31 | + * @return DateAndTime |
|
| 32 | 32 | */ |
| 33 | 33 | protected function createFieldTypeUnderTest() |
| 34 | 34 | { |
@@ -216,7 +216,6 @@ discard block |
||
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | - * @param mixed $inputValue |
|
| 220 | 219 | * @param array $expectedResult |
| 221 | 220 | * |
| 222 | 221 | * @dataProvider provideInputForFromHash |
@@ -278,7 +277,6 @@ discard block |
||
| 278 | 277 | } |
| 279 | 278 | |
| 280 | 279 | /** |
| 281 | - * @param mixed $inputValue |
|
| 282 | 280 | * @param string $intervalSpec |
| 283 | 281 | * |
| 284 | 282 | * @dataProvider provideInputForTimeStringFromHash |