@@ -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 | { |