@@ -21,7 +21,6 @@ |
||
21 | 21 | * @since 1.0 |
22 | 22 | */ |
23 | 23 | |
24 | -use Xmf\FilterInput; |
|
25 | 24 | use XoopsModules\Smallworld; |
26 | 25 | use XoopsModules\Smallworld\Constants; |
27 | 26 | use XoopsModules\Smallworld\Helper; |
@@ -53,7 +53,7 @@ |
||
53 | 53 | * If array check for magicQuotes. |
54 | 54 | * Pass string to XoopsModules\Smallworld\MyFunctions\cleanupString function |
55 | 55 | * |
56 | - * @param array|string $text |
|
56 | + * @param string $text |
|
57 | 57 | * @return array|mixed |
58 | 58 | */ |
59 | 59 | function smallworld_cleanup($text) |
@@ -23,7 +23,6 @@ |
||
23 | 23 | |
24 | 24 | use Xmf\Request; |
25 | 25 | use XoopsModules\Smallworld; |
26 | -use XoopsModules\Smallworld\Constants; |
|
27 | 26 | |
28 | 27 | require_once __DIR__ . '/header.php'; |
29 | 28 |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * getSchoolToDiv function |
72 | 72 | * |
73 | - * @param int $userId smallworld `userid` |
|
73 | + * @param integer $id |
|
74 | 74 | * @return array |
75 | 75 | */ |
76 | 76 | function getSchoolToDiv($id) |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | |
175 | 175 | /** |
176 | 176 | * saveImage function |
177 | - * @param $values |
|
177 | + * @param string $values |
|
178 | 178 | */ |
179 | 179 | public function saveImage($values) |
180 | 180 | { |
@@ -574,7 +574,7 @@ discard block |
||
574 | 574 | * deleteWallComment function |
575 | 575 | * - Delete Comments |
576 | 576 | * @param int $smallworld_com_id |
577 | - * @return true |
|
577 | + * @return boolean |
|
578 | 578 | */ |
579 | 579 | public function deleteWallComment($smallworld_com_id) |
580 | 580 | { |
@@ -684,8 +684,8 @@ discard block |
||
684 | 684 | * |
685 | 685 | * @param int $userid |
686 | 686 | * @param string|bool $directory |
687 | - * @param bool|int $empty |
|
688 | - * @return bool |
|
687 | + * @param boolean $empty |
|
688 | + * @return boolean|null |
|
689 | 689 | */ |
690 | 690 | public function smallworld_remDir($userid, $directory, $empty = false) |
691 | 691 | { |
@@ -727,7 +727,7 @@ discard block |
||
727 | 727 | * Update private settings |
728 | 728 | * |
729 | 729 | * @param mixed $id user's id |
730 | - * @param mixed $posts |
|
730 | + * @param string $posts |
|
731 | 731 | * @return string serialized settings for this id |
732 | 732 | */ |
733 | 733 | public function saveSettings($id, $posts) |
@@ -20,7 +20,6 @@ |
||
20 | 20 | * @author Michael Albertsen (http://culex.dk) <[email protected]> |
21 | 21 | */ |
22 | 22 | |
23 | -use Xmf\Request; |
|
24 | 23 | use XoopsModules\Smallworld; |
25 | 24 | |
26 | 25 | require_once __DIR__ . '/header.php'; |
@@ -20,9 +20,7 @@ |
||
20 | 20 | * @author Michael Albertsen (http://culex.dk) <[email protected]> |
21 | 21 | */ |
22 | 22 | |
23 | -use Xmf\Request; |
|
24 | 23 | use XoopsModules\Smallworld; |
25 | -use XoopsModules\Smallworld\Constants; |
|
26 | 24 | require_once __DIR__ . '/header.php'; |
27 | 25 | |
28 | 26 | /** @var \XoopsModules\Smallworld\Helper $helper */ |