@@ -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 | { |
@@ -452,7 +452,7 @@ discard block |
||
452 | 452 | * deleteWallMsg function |
453 | 453 | * @param int $id |
454 | 454 | * @param int $smallworld_msg_id |
455 | - * @return true |
|
455 | + * @return boolean |
|
456 | 456 | */ |
457 | 457 | public function deleteWallMsg($id, $smallworld_msg_id) |
458 | 458 | { |
@@ -472,7 +472,7 @@ discard block |
||
472 | 472 | * deleteWallComment function |
473 | 473 | * - Delete Comments |
474 | 474 | * @param int $smallworld_com_id |
475 | - * @return true |
|
475 | + * @return boolean |
|
476 | 476 | */ |
477 | 477 | public function deleteWallComment($smallworld_com_id) |
478 | 478 | { |
@@ -549,7 +549,7 @@ discard block |
||
549 | 549 | * SmallworldDeleteDirectory function |
550 | 550 | * - Delete images from users on delete |
551 | 551 | * @param int $userid |
552 | - * @return true |
|
552 | + * @return boolean |
|
553 | 553 | */ |
554 | 554 | public function SmallworldDeleteDirectory($userid) |
555 | 555 | { |
@@ -580,8 +580,8 @@ discard block |
||
580 | 580 | * - Remove user image dir in uploads. |
581 | 581 | * @param int $userid |
582 | 582 | * @param string|bool $directory |
583 | - * @param bool|int $empty |
|
584 | - * @return bool |
|
583 | + * @param boolean $empty |
|
584 | + * @return boolean|null |
|
585 | 585 | */ |
586 | 586 | public function smallworld_remDir($userid, $directory, $empty = false) |
587 | 587 | { |
@@ -622,7 +622,7 @@ discard block |
||
622 | 622 | * @param int id ($userid) |
623 | 623 | * @param string posts (serialized values) |
624 | 624 | * @param mixed $id |
625 | - * @param mixed $posts |
|
625 | + * @param string $posts |
|
626 | 626 | */ |
627 | 627 | public function saveSettings($id, $posts) |
628 | 628 | { |