@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * @param \eZ\Publish\Core\REST\Common\Output\Visitor $visitor |
28 | 28 | * @param \eZ\Publish\Core\REST\Common\Output\Generator $generator |
29 | - * @param Role|RoleDraft $data |
|
29 | + * @param \eZ\Publish\Core\REST\Server\Values\RestRole $data |
|
30 | 30 | */ |
31 | 31 | public function visit(Visitor $visitor, Generator $generator, $data) |
32 | 32 | { |
@@ -184,7 +184,7 @@ |
||
184 | 184 | * Ported from the legacy code |
185 | 185 | * @see https://github.com/ezsystems/ezpublish-legacy/blob/master/kernel/search/plugins/ezsearchengine/ezsearchengine.php#L386 |
186 | 186 | * |
187 | - * @param mixed $contentId |
|
187 | + * @param integer $contentId |
|
188 | 188 | * @param mixed|null $versionId |
189 | 189 | * |
190 | 190 | * @return bool |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * Get PDOStatement to fetch metadata about content objects to be indexed. |
72 | 72 | * |
73 | - * @param array $fields Select fields |
|
73 | + * @param string[] $fields Select fields |
|
74 | 74 | * @return \PDOStatement |
75 | 75 | */ |
76 | 76 | protected function getContentDbFieldsStmt(array $fields) |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * Log warning while progress bar is shown. |
109 | 109 | * |
110 | 110 | * @param \Symfony\Component\Console\Helper\ProgressBar $progress |
111 | - * @param $message |
|
111 | + * @param string $message |
|
112 | 112 | */ |
113 | 113 | protected function logWarning(ProgressBar $progress, $message) |
114 | 114 | { |
@@ -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 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | */ |
9 | 9 | namespace eZ\Publish\API\Repository\Tests\Common; |
10 | 10 | |
11 | -use eZ\Publish\API\Repository\Values\Content\Query; |
|
12 | 11 | use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |
13 | 12 | use eZ\Publish\API\Repository\Values\Content\Query\SortClause; |
14 | 13 | use eZ\Publish\API\Repository\Values\Content\Query\FacetBuilder; |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Get handler with required custom field types registered. |
50 | 50 | * |
51 | - * @return Handler |
|
51 | + * @return \eZ\Publish\SPI\Persistence\Handler |
|
52 | 52 | */ |
53 | 53 | public function getCustomHandler() |
54 | 54 | { |