@@ -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 |
@@ -58,7 +58,7 @@ |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
61 | - * @return \eZ\Publish\Core\Repository\Repository|\PHPUnit_Framework_MockObject_MockObject |
|
61 | + * @return \eZ\Publish\API\Repository\Repository |
|
62 | 62 | */ |
63 | 63 | private function getRepositoryMock() |
64 | 64 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @note Class should instead be configured as service if it gains dependencies. |
30 | 30 | * |
31 | - * @return Integer |
|
31 | + * @return IntegerConverter |
|
32 | 32 | */ |
33 | 33 | public static function create() |
34 | 34 | { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * |
119 | 119 | * Result is returned with oldest version first (sorted by created, or version id as long as it's auto increment). |
120 | 120 | * |
121 | - * @param mixed $contentId |
|
121 | + * @param integer $contentId |
|
122 | 122 | * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}. |
123 | 123 | * @param int $limit Limit for items returned, -1 means none. |
124 | 124 | * |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | * |
174 | 174 | * @param mixed $locationId |
175 | 175 | * |
176 | - * @return bool |
|
176 | + * @return boolean|null |
|
177 | 177 | */ |
178 | 178 | public function removeSubtree($locationId) |
179 | 179 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | /** |
100 | 100 | * Perform search by the Subtree Criterion for the given subtree path and return results count. |
101 | 101 | * |
102 | - * @param $subtreePathString |
|
102 | + * @param string $subtreePathString |
|
103 | 103 | * @return int|null |
104 | 104 | */ |
105 | 105 | protected function getSubtreeLocationsCount($subtreePathString) |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * |
39 | 39 | * @param \eZ\Publish\SPI\Search\Field $field |
40 | 40 | * |
41 | - * @return mixed |
|
41 | + * @return string |
|
42 | 42 | */ |
43 | 43 | public function map(Field $field) |
44 | 44 | { |
@@ -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 | { |
@@ -168,7 +168,7 @@ |
||
168 | 168 | * |
169 | 169 | * @param \eZ\Publish\Core\FieldType\Country\Value $value |
170 | 170 | * |
171 | - * @return array |
|
171 | + * @return string |
|
172 | 172 | */ |
173 | 173 | protected function getSortInfo(BaseValue $value) |
174 | 174 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * Returns if the given $value is considered empty by the field type. |
64 | 64 | * |
65 | - * @param mixed $value |
|
65 | + * @param SPIValue $value |
|
66 | 66 | * |
67 | 67 | * @return bool |
68 | 68 | */ |