@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | * @param string $operator |
| 197 | 197 | * @param string $value |
| 198 | 198 | * |
| 199 | - * @return callback |
|
| 199 | + * @return \Closure |
|
| 200 | 200 | */ |
| 201 | 201 | protected function getTransposeClosure($operator, $value) |
| 202 | 202 | { |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | * |
| 217 | 217 | * @param string $char |
| 218 | 218 | * |
| 219 | - * @return callback |
|
| 219 | + * @return \Closure |
|
| 220 | 220 | */ |
| 221 | 221 | protected function compileTargetCharacter($char) |
| 222 | 222 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | - * @return \eZ\Publish\API\Repository\Values\Content\Field[] |
|
| 156 | + * @return Field[] |
|
| 157 | 157 | */ |
| 158 | 158 | protected function getFields() |
| 159 | 159 | { |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
| 207 | - * @return \eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition[] |
|
| 207 | + * @return FieldDefinition[] |
|
| 208 | 208 | */ |
| 209 | 209 | protected function getFieldDefinitions() |
| 210 | 210 | { |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | * Returns the fallback default value of field type when no such default |
| 155 | 155 | * value is provided in the field definition in content types. |
| 156 | 156 | * |
| 157 | - * @return mixed |
|
| 157 | + * @return Value |
|
| 158 | 158 | */ |
| 159 | 159 | public function getEmptyValue() |
| 160 | 160 | { |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | * |
| 185 | 185 | * @param mixed $hash |
| 186 | 186 | * |
| 187 | - * @return mixed |
|
| 187 | + * @return Value |
|
| 188 | 188 | */ |
| 189 | 189 | public function fromHash($hash) |
| 190 | 190 | { |
@@ -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 | { |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion |
| 44 | 44 | * @param array $languageSettings |
| 45 | 45 | * |
| 46 | - * @return \eZ\Publish\Core\Persistence\Database\Expression |
|
| 46 | + * @return string |
|
| 47 | 47 | */ |
| 48 | 48 | public function handle( |
| 49 | 49 | CriteriaConverter $converter, |
@@ -219,8 +219,8 @@ |
||
| 219 | 219 | * |
| 220 | 220 | * @param Criterion $filter |
| 221 | 221 | * @param array $sort |
| 222 | - * @param mixed $offset |
|
| 223 | - * @param mixed $limit |
|
| 222 | + * @param integer $offset |
|
| 223 | + * @param integer $limit |
|
| 224 | 224 | * @param array $languageFilter |
| 225 | 225 | * |
| 226 | 226 | * @return int[] |
@@ -188,7 +188,7 @@ |
||
| 188 | 188 | * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion |
| 189 | 189 | * @param array $languageFilter |
| 190 | 190 | * |
| 191 | - * @return array |
|
| 191 | + * @return integer |
|
| 192 | 192 | */ |
| 193 | 193 | protected function getTotalCount(Criterion $criterion, array $languageFilter) |
| 194 | 194 | { |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | * $languageCode. |
| 362 | 362 | * |
| 363 | 363 | * @param Type $contentType |
| 364 | - * @param mixed $fieldValue |
|
| 364 | + * @param Content\FieldValue $fieldValue |
|
| 365 | 365 | * @param string $languageCode |
| 366 | 366 | * |
| 367 | 367 | * @return Content |
@@ -480,8 +480,8 @@ discard block |
||
| 480 | 480 | /** |
| 481 | 481 | * Performs an update on $contentId in $contentVersion setting $field. |
| 482 | 482 | * |
| 483 | - * @param mixed $contentId |
|
| 484 | - * @param mixed $contentVersion |
|
| 483 | + * @param string $contentId |
|
| 484 | + * @param string $contentVersion |
|
| 485 | 485 | * @param Field $field |
| 486 | 486 | * |
| 487 | 487 | * @return Content |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | /** |
| 61 | 61 | * Update name and identifier of a section. |
| 62 | 62 | * |
| 63 | - * @param mixed $id |
|
| 63 | + * @param integer $id |
|
| 64 | 64 | * @param string $name |
| 65 | 65 | * @param string $identifier |
| 66 | 66 | * |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * Get section data. |
| 83 | 83 | * |
| 84 | - * @param mixed $id |
|
| 84 | + * @param integer $id |
|
| 85 | 85 | * |
| 86 | 86 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If section is not found |
| 87 | 87 | * |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | * content objects. Make sure that no content objects are associated with |
| 173 | 173 | * the section any more *before* calling this method. |
| 174 | 174 | * |
| 175 | - * @param mixed $id |
|
| 175 | + * @param integer $id |
|
| 176 | 176 | */ |
| 177 | 177 | public function delete($id) |
| 178 | 178 | { |
@@ -189,8 +189,8 @@ discard block |
||
| 189 | 189 | /** |
| 190 | 190 | * Assigns section to single content object. |
| 191 | 191 | * |
| 192 | - * @param mixed $sectionId |
|
| 193 | - * @param mixed $contentId |
|
| 192 | + * @param integer $sectionId |
|
| 193 | + * @param integer $contentId |
|
| 194 | 194 | */ |
| 195 | 195 | public function assign($sectionId, $contentId) |
| 196 | 196 | { |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | /** |
| 213 | 213 | * Number of role policies using a Section in limitations. |
| 214 | 214 | * |
| 215 | - * @param mixed $sectionId |
|
| 215 | + * @param integer $sectionId |
|
| 216 | 216 | * |
| 217 | 217 | * @return int |
| 218 | 218 | */ |