@@ -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 | { |
@@ -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 | { |
@@ -547,7 +547,7 @@ discard block |
||
547 | 547 | /** |
548 | 548 | * Returns the LocationCreate parser mock object. |
549 | 549 | * |
550 | - * @return \eZ\Publish\Core\REST\Server\Input\Parser\LocationCreate |
|
550 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
551 | 551 | */ |
552 | 552 | private function getLocationCreateParserMock() |
553 | 553 | { |
@@ -564,7 +564,7 @@ discard block |
||
564 | 564 | /** |
565 | 565 | * Get the content service mock object. |
566 | 566 | * |
567 | - * @return \eZ\Publish\API\Repository\ContentService |
|
567 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
568 | 568 | */ |
569 | 569 | protected function getContentServiceMock() |
570 | 570 | { |
@@ -594,7 +594,7 @@ discard block |
||
594 | 594 | /** |
595 | 595 | * Get the content type service mock object. |
596 | 596 | * |
597 | - * @return \eZ\Publish\API\Repository\ContentTypeService |
|
597 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
598 | 598 | */ |
599 | 599 | protected function getContentTypeServiceMock() |
600 | 600 | { |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | /** |
260 | 260 | * Returns the FieldDefinitionCreate parser mock object. |
261 | 261 | * |
262 | - * @return \eZ\Publish\Core\REST\Server\Input\Parser\FieldDefinitionCreate |
|
262 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
263 | 263 | */ |
264 | 264 | private function getFieldDefinitionCreateParserMock() |
265 | 265 | { |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | /** |
277 | 277 | * Get the content type service mock object. |
278 | 278 | * |
279 | - * @return \eZ\Publish\API\Repository\ContentTypeService |
|
279 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
280 | 280 | */ |
281 | 281 | protected function getContentTypeServiceMock() |
282 | 282 | { |