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