@@ -116,7 +116,7 @@ |
||
116 | 116 | * @param \eZ\Publish\API\Repository\Values\ValueObject $object |
117 | 117 | * @param \eZ\Publish\API\Repository\Values\ValueObject[]|null $targets The context of the $object, like Location of Content, if null none where provided by caller |
118 | 118 | * |
119 | - * @return bool |
|
119 | + * @return boolean|null |
|
120 | 120 | */ |
121 | 121 | public function evaluate(APILimitationValue $value, APIUserReference $currentUser, ValueObject $object, array $targets = null) |
122 | 122 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | protected static $locationIds = []; |
15 | 15 | |
16 | 16 | /** |
17 | - * @return mixed |
|
17 | + * @return integer |
|
18 | 18 | */ |
19 | 19 | public static function getContentId() |
20 | 20 | { |
@@ -87,7 +87,7 @@ |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | - * @return array |
|
90 | + * @return string[] |
|
91 | 91 | */ |
92 | 92 | private static function getAllSignals() |
93 | 93 | { |
@@ -43,8 +43,6 @@ |
||
43 | 43 | * |
44 | 44 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
45 | 45 | * |
46 | - * @param string|array(string) $... Either a string with a logical expression name |
|
47 | - * or an array with logical expressions. |
|
48 | 46 | * |
49 | 47 | * @return \eZ\Publish\Core\Persistence\Database\DeleteQuery |
50 | 48 | */ |
@@ -47,7 +47,6 @@ discard block |
||
47 | 47 | * |
48 | 48 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
49 | 49 | * |
50 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
51 | 50 | * |
52 | 51 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
53 | 52 | */ |
@@ -107,7 +106,6 @@ discard block |
||
107 | 106 | * |
108 | 107 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
109 | 108 | * |
110 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
111 | 109 | * |
112 | 110 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
113 | 111 | */ |
@@ -131,7 +129,6 @@ discard block |
||
131 | 129 | * |
132 | 130 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
133 | 131 | * |
134 | - * @param string|array(string) $... Either a string with a table name or an array of table names. |
|
135 | 132 | * |
136 | 133 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
137 | 134 | */ |
@@ -183,8 +180,6 @@ discard block |
||
183 | 180 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
184 | 181 | * invoked without preceding call to from(). |
185 | 182 | * |
186 | - * @param string $table2,... The table to join with, followed by either the |
|
187 | - * two join columns, or a join condition. |
|
188 | 183 | * |
189 | 184 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
190 | 185 | */ |
@@ -236,8 +231,6 @@ discard block |
||
236 | 231 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
237 | 232 | * invoked without preceding call to from(). |
238 | 233 | * |
239 | - * @param string $table2,... The table to join with, followed by either the |
|
240 | - * two join columns, or a join condition. |
|
241 | 234 | * |
242 | 235 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
243 | 236 | */ |
@@ -289,8 +282,6 @@ discard block |
||
289 | 282 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
290 | 283 | * invoked without preceding call to from(). |
291 | 284 | * |
292 | - * @param string $table2,... The table to join with, followed by either the |
|
293 | - * two join columns, or a join condition. |
|
294 | 285 | * |
295 | 286 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
296 | 287 | */ |
@@ -313,8 +304,6 @@ discard block |
||
313 | 304 | * |
314 | 305 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
315 | 306 | * |
316 | - * @param string|array(string) $... Either a string with a logical expression name |
|
317 | - * or an array with logical expressions. |
|
318 | 307 | * |
319 | 308 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
320 | 309 | */ |
@@ -378,7 +367,6 @@ discard block |
||
378 | 367 | * |
379 | 368 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
380 | 369 | * |
381 | - * @param string $column a column name in the result set |
|
382 | 370 | * |
383 | 371 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
384 | 372 | */ |
@@ -399,8 +387,6 @@ discard block |
||
399 | 387 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException |
400 | 388 | * if called with no parameters. |
401 | 389 | * |
402 | - * @param string|array(string) $... Either a string with a logical expression name |
|
403 | - * or an array with logical expressions. |
|
404 | 390 | * |
405 | 391 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
406 | 392 | */ |
@@ -54,8 +54,6 @@ |
||
54 | 54 | * |
55 | 55 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
56 | 56 | * |
57 | - * @param string|array(string) $... Either a string with a logical expression name |
|
58 | - * or an array with logical expressions. |
|
59 | 57 | * |
60 | 58 | * @return \eZ\Publish\Core\Persistence\Database\UpdateQuery |
61 | 59 | */ |
@@ -114,9 +114,9 @@ discard block |
||
114 | 114 | * Inserts a new content object. |
115 | 115 | * |
116 | 116 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
117 | - * @param mixed $currentVersionNo |
|
117 | + * @param integer $currentVersionNo |
|
118 | 118 | * |
119 | - * @return int ID |
|
119 | + * @return string ID |
|
120 | 120 | */ |
121 | 121 | public function insertContentObject(CreateStruct $struct, $currentVersionNo = 1) |
122 | 122 | { |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | * @param \eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo |
217 | 217 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields |
218 | 218 | * |
219 | - * @return int ID |
|
219 | + * @return string ID |
|
220 | 220 | */ |
221 | 221 | public function insertVersion(VersionInfo $versionInfo, array $fields) |
222 | 222 | { |
@@ -610,7 +610,7 @@ discard block |
||
610 | 610 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
611 | 611 | * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue $value |
612 | 612 | * |
613 | - * @return int ID |
|
613 | + * @return string ID |
|
614 | 614 | */ |
615 | 615 | public function insertNewField(Content $content, Field $field, StorageFieldValue $value) |
616 | 616 | { |
@@ -820,8 +820,8 @@ discard block |
||
820 | 820 | * |
821 | 821 | * Returns an array with the relevant data. |
822 | 822 | * |
823 | - * @param mixed $contentId |
|
824 | - * @param mixed $version |
|
823 | + * @param integer $contentId |
|
824 | + * @param integer $version |
|
825 | 825 | * @param string[] $translations |
826 | 826 | * |
827 | 827 | * @return array |
@@ -992,7 +992,7 @@ discard block |
||
992 | 992 | * |
993 | 993 | * Result is returned with oldest version first (using version id as it has index and is auto increment). |
994 | 994 | * |
995 | - * @param mixed $contentId |
|
995 | + * @param integer $contentId |
|
996 | 996 | * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}. |
997 | 997 | * @param int $limit Limit for items returned, -1 means none. |
998 | 998 | * |
@@ -1060,7 +1060,7 @@ discard block |
||
1060 | 1060 | /** |
1061 | 1061 | * Returns all version numbers for the given $contentId. |
1062 | 1062 | * |
1063 | - * @param mixed $contentId |
|
1063 | + * @param integer $contentId |
|
1064 | 1064 | * |
1065 | 1065 | * @return int[] |
1066 | 1066 | */ |
@@ -1698,7 +1698,7 @@ discard block |
||
1698 | 1698 | * |
1699 | 1699 | * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct |
1700 | 1700 | * |
1701 | - * @return int ID the inserted ID |
|
1701 | + * @return string ID the inserted ID |
|
1702 | 1702 | */ |
1703 | 1703 | public function insertRelation(RelationCreateStruct $createStruct) |
1704 | 1704 | { |
@@ -209,8 +209,8 @@ discard block |
||
209 | 209 | * @todo Either move to async/batch or find ways toward optimizing away operations per object. |
210 | 210 | * @todo Optionally retain dates and set creator |
211 | 211 | * |
212 | - * @param mixed $sourceId |
|
213 | - * @param mixed $destinationParentId |
|
212 | + * @param integer $sourceId |
|
213 | + * @param integer $destinationParentId |
|
214 | 214 | * |
215 | 215 | * @return Location the newly created Location. |
216 | 216 | */ |
@@ -330,10 +330,10 @@ discard block |
||
330 | 330 | * destination, identified by $destinationParentId. Relations do not need |
331 | 331 | * to be updated, since they refer to Content. URLs are not touched. |
332 | 332 | * |
333 | - * @param mixed $sourceId |
|
334 | - * @param mixed $destinationParentId |
|
333 | + * @param integer $sourceId |
|
334 | + * @param integer $destinationParentId |
|
335 | 335 | * |
336 | - * @return bool |
|
336 | + * @return boolean|null |
|
337 | 337 | */ |
338 | 338 | public function move($sourceId, $destinationParentId) |
339 | 339 | { |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | /** |
373 | 373 | * Sets a location to be hidden, and it self + all children to invisible. |
374 | 374 | * |
375 | - * @param mixed $id Location ID |
|
375 | + * @param integer $id Location ID |
|
376 | 376 | */ |
377 | 377 | public function hide($id) |
378 | 378 | { |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | * Sets a location to be unhidden, and self + children to visible unless a parent is hiding the tree. |
386 | 386 | * If not make sure only children down to first hidden node is marked visible. |
387 | 387 | * |
388 | - * @param mixed $id |
|
388 | + * @param integer $id |
|
389 | 389 | */ |
390 | 390 | public function unHide($id) |
391 | 391 | { |
@@ -400,10 +400,10 @@ discard block |
||
400 | 400 | * Make the location identified by $locationId1 refer to the Content |
401 | 401 | * referred to by $locationId2 and vice versa. |
402 | 402 | * |
403 | - * @param mixed $locationId1 |
|
404 | - * @param mixed $locationId2 |
|
403 | + * @param integer $locationId1 |
|
404 | + * @param integer $locationId2 |
|
405 | 405 | * |
406 | - * @return bool |
|
406 | + * @return boolean|null |
|
407 | 407 | */ |
408 | 408 | public function swap($locationId1, $locationId2) |
409 | 409 | { |
@@ -450,9 +450,9 @@ discard block |
||
450 | 450 | * main Location will get the first of its other Locations assigned as the |
451 | 451 | * new main Location. |
452 | 452 | * |
453 | - * @param mixed $locationId |
|
453 | + * @param integer $locationId |
|
454 | 454 | * |
455 | - * @return bool |
|
455 | + * @return boolean|null |
|
456 | 456 | */ |
457 | 457 | public function removeSubtree($locationId) |
458 | 458 | { |
@@ -463,7 +463,7 @@ discard block |
||
463 | 463 | * Set section on all content objects in the subtree. |
464 | 464 | * |
465 | 465 | * @param mixed $locationId |
466 | - * @param mixed $sectionId |
|
466 | + * @param integer $sectionId |
|
467 | 467 | */ |
468 | 468 | public function setSectionForSubtree($locationId, $sectionId) |
469 | 469 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * |
117 | 117 | * Result is returned with oldest version first (using version id as it has index and is auto increment). |
118 | 118 | * |
119 | - * @param mixed $contentId |
|
119 | + * @param integer $contentId |
|
120 | 120 | * @param mixed|null $status Optional argument to filter versions by status, like {@see VersionInfo::STATUS_ARCHIVED}. |
121 | 121 | * @param int $limit Limit for items returned, -1 means none. |
122 | 122 | * |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | * |
172 | 172 | * @param mixed $locationId |
173 | 173 | * |
174 | - * @return bool |
|
174 | + * @return boolean|null |
|
175 | 175 | */ |
176 | 176 | public function removeSubtree($locationId) |
177 | 177 | { |