@@ -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,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,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'; |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | // If array check for magicQuotes. |
49 | 49 | // Pass string to Smallworld_cleanup_string |
50 | 50 | /** |
51 | - * @param $text |
|
51 | + * @param string $text |
|
52 | 52 | * @return array|mixed |
53 | 53 | */ |
54 | 54 | function Smallworld_cleanup($text) |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |
138 | - * @param $folderUrl |
|
138 | + * @param string $folderUrl |
|
139 | 139 | */ |
140 | 140 | function Smallworld_CreateIndexFiles($folderUrl) |
141 | 141 | { |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | // Return only url/link |
282 | 282 | // If url is image link return <img> |
283 | 283 | /** |
284 | - * @param $text |
|
284 | + * @param string $text |
|
285 | 285 | * @param $uid |
286 | 286 | * @return string |
287 | 287 | */ |
@@ -934,7 +934,7 @@ discard block |
||
934 | 934 | /** |
935 | 935 | * @param $width |
936 | 936 | * @param $height |
937 | - * @param $target |
|
937 | + * @param integer $target |
|
938 | 938 | * @return string |
939 | 939 | */ |
940 | 940 | function smallworld_imageResize($width, $height, $target) |
@@ -961,7 +961,7 @@ discard block |
||
961 | 961 | * will attempt to use the getimagesiz method first, then curl |
962 | 962 | * @param int $w |
963 | 963 | * @param int $h |
964 | - * @param url $url |
|
964 | + * @param string $url |
|
965 | 965 | * @returns array |
966 | 966 | * @return array|false|string[] |
967 | 967 | * @return array|false|string[] |
@@ -1057,7 +1057,7 @@ discard block |
||
1057 | 1057 | /** |
1058 | 1058 | * @Get htmlentities |
1059 | 1059 | * @param $text |
1060 | - * @return translated string to utf-8 |
|
1060 | + * @return string string to utf-8 |
|
1061 | 1061 | */ |
1062 | 1062 | function smallworld_decodeEntities($text) |
1063 | 1063 | { |
@@ -1070,7 +1070,7 @@ discard block |
||
1070 | 1070 | /** |
1071 | 1071 | * @Get string and shorten so contains only ? chars |
1072 | 1072 | * @param $text |
1073 | - * @param $chars |
|
1073 | + * @param integer $chars |
|
1074 | 1074 | * @return string |
1075 | 1075 | */ |
1076 | 1076 | function smallworld_shortenText($text, $chars) |
@@ -1084,8 +1084,8 @@ discard block |
||
1084 | 1084 | |
1085 | 1085 | /** |
1086 | 1086 | * @Get languagefile if constants are not defined |
1087 | - * @param $def |
|
1088 | - * @param $file |
|
1087 | + * @param string $def |
|
1088 | + * @param string $file |
|
1089 | 1089 | * return file include |
1090 | 1090 | */ |
1091 | 1091 | function smallworld_isDefinedLanguage($def, $file) |
@@ -1135,7 +1135,7 @@ discard block |
||
1135 | 1135 | } |
1136 | 1136 | |
1137 | 1137 | /** |
1138 | - * @return array of groups |
|
1138 | + * @return string[] of groups |
|
1139 | 1139 | * return array |
1140 | 1140 | * |
1141 | 1141 | */ |
@@ -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__ . '/common.php'; |
@@ -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,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,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,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,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'; |