@@ -517,7 +517,7 @@ |
||
517 | 517 | /** |
518 | 518 | * Get the field type parser mock object. |
519 | 519 | * |
520 | - * @return \eZ\Publish\Core\REST\Common\Input\FieldTypeParser; |
|
520 | + * @return \eZ\Publish\Core\REST\Common\Input\FieldTypeParser |
|
521 | 521 | */ |
522 | 522 | private function getFieldTypeParserMock() |
523 | 523 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * Gets the exception. |
39 | 39 | * |
40 | - * @return \Exception |
|
40 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
41 | 41 | */ |
42 | 42 | protected function getException() |
43 | 43 | { |
@@ -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 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Triggers the cache purge $locationIds. |
32 | 32 | * |
33 | - * @param mixed $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
33 | + * @param integer[] $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
34 | 34 | */ |
35 | 35 | public function purge($locationIds) |
36 | 36 | { |
@@ -369,7 +369,7 @@ |
||
369 | 369 | * @param bool $withFields Set to true if item contains fields which should be expired on relation or type updates. |
370 | 370 | * @param array $tags Optional, can be used to specify other tags. |
371 | 371 | * |
372 | - * @return array |
|
372 | + * @return string[] |
|
373 | 373 | */ |
374 | 374 | private function getCacheTags(ContentInfo $contentInfo, $withFields = false, array $tags = []) |
375 | 375 | { |
@@ -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 | * |