@@ -90,8 +90,8 @@ discard block |
||
| 90 | 90 | * - Remove user image dir in uploads. |
| 91 | 91 | * @param int $userid |
| 92 | 92 | * @param string|bool $directory |
| 93 | - * @param bool|int $empty |
|
| 94 | - * @return bool |
|
| 93 | + * @param boolean $empty |
|
| 94 | + * @return boolean|null |
|
| 95 | 95 | */ |
| 96 | 96 | public function smallworld_remDir($userid, $directory, $empty = false) |
| 97 | 97 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | * SmallworldDeleteDirectory function |
| 132 | 132 | * - Delete images from users on delete |
| 133 | 133 | * @param int $userid |
| 134 | - * @return true |
|
| 134 | + * @return boolean |
|
| 135 | 135 | */ |
| 136 | 136 | public function SmallworldDeleteDirectory($userid) |
| 137 | 137 | { |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | |
| 153 | 153 | /** |
| 154 | 154 | * saveImage function |
| 155 | - * @param $values |
|
| 155 | + * @param string $values |
|
| 156 | 156 | */ |
| 157 | 157 | public function saveImage($values) |
| 158 | 158 | { |
@@ -451,7 +451,7 @@ discard block |
||
| 451 | 451 | * deleteWallMsg function |
| 452 | 452 | * @param int $id |
| 453 | 453 | * @param int $smallworld_msg_id |
| 454 | - * @return true |
|
| 454 | + * @return boolean |
|
| 455 | 455 | */ |
| 456 | 456 | public function deleteWallMsg($id, $smallworld_msg_id) |
| 457 | 457 | { |
@@ -471,7 +471,7 @@ discard block |
||
| 471 | 471 | * deleteWallComment function |
| 472 | 472 | * - Delete Comments |
| 473 | 473 | * @param int $smallworld_com_id |
| 474 | - * @return true |
|
| 474 | + * @return boolean |
|
| 475 | 475 | */ |
| 476 | 476 | public function deleteWallComment($smallworld_com_id) |
| 477 | 477 | { |
@@ -548,7 +548,7 @@ discard block |
||
| 548 | 548 | * SmallworldDeleteDirectory function |
| 549 | 549 | * - Delete images from users on delete |
| 550 | 550 | * @param int $userid |
| 551 | - * @return true |
|
| 551 | + * @return boolean |
|
| 552 | 552 | */ |
| 553 | 553 | public function SmallworldDeleteDirectory($userid) |
| 554 | 554 | { |
@@ -579,8 +579,8 @@ discard block |
||
| 579 | 579 | * - Remove user image dir in uploads. |
| 580 | 580 | * @param int $userid |
| 581 | 581 | * @param string|bool $directory |
| 582 | - * @param bool|int $empty |
|
| 583 | - * @return bool |
|
| 582 | + * @param boolean $empty |
|
| 583 | + * @return boolean|null |
|
| 584 | 584 | */ |
| 585 | 585 | public function smallworld_remDir($userid, $directory, $empty = false) |
| 586 | 586 | { |
@@ -619,7 +619,7 @@ discard block |
||
| 619 | 619 | /** |
| 620 | 620 | * Update private settings |
| 621 | 621 | * @param mixed $id |
| 622 | - * @param mixed $posts |
|
| 622 | + * @param string $posts |
|
| 623 | 623 | */ |
| 624 | 624 | public function saveSettings($id, $posts) |
| 625 | 625 | { |