@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * Constructor |
35 | - * @param $object |
|
35 | + * @param BaseSmartObject $object |
|
36 | 36 | * @param bool $userSide |
37 | 37 | * @param array $actions |
38 | 38 | * @param bool $headerAsRow |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
49 | - * @param $rowObj |
|
49 | + * @param ObjectRow $rowObj |
|
50 | 50 | */ |
51 | 51 | public function addRow($rowObj) |
52 | 52 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
104 | - * @param $columnObj |
|
104 | + * @param ObjectColumn $columnObj |
|
105 | 105 | */ |
106 | 106 | public function addColumn($columnObj) |
107 | 107 | { |
@@ -109,8 +109,8 @@ discard block |
||
109 | 109 | } |
110 | 110 | |
111 | 111 | /** |
112 | - * @param $name |
|
113 | - * @param $location |
|
112 | + * @param string $name |
|
113 | + * @param string $location |
|
114 | 114 | * @param $value |
115 | 115 | */ |
116 | 116 | public function addIntroButton($name, $location, $value) |
@@ -398,7 +398,7 @@ discard block |
||
398 | 398 | |
399 | 399 | /** |
400 | 400 | * Thanks to the NewBB2 Development Team |
401 | - * @param $target |
|
401 | + * @param string $target |
|
402 | 402 | * @return bool |
403 | 403 | */ |
404 | 404 | public static function mkdirAsAdmin($target) |
@@ -551,7 +551,7 @@ discard block |
||
551 | 551 | |
552 | 552 | /** |
553 | 553 | * @param $dirname |
554 | - * @return bool |
|
554 | + * @return boolean|null |
|
555 | 555 | */ |
556 | 556 | public static function deleteFile($dirname) |
557 | 557 | { |
@@ -744,7 +744,7 @@ discard block |
||
744 | 744 | } |
745 | 745 | |
746 | 746 | /** |
747 | - * @param $name |
|
747 | + * @param string $name |
|
748 | 748 | */ |
749 | 749 | public static function closeCollapsable($name) |
750 | 750 | { |
@@ -754,7 +754,7 @@ discard block |
||
754 | 754 | } |
755 | 755 | |
756 | 756 | /** |
757 | - * @param $name |
|
757 | + * @param string $name |
|
758 | 758 | * @param $value |
759 | 759 | * @param int $time |
760 | 760 | */ |
@@ -768,7 +768,7 @@ discard block |
||
768 | 768 | } |
769 | 769 | |
770 | 770 | /** |
771 | - * @param $name |
|
771 | + * @param string $name |
|
772 | 772 | * @param string $default |
773 | 773 | * @return string |
774 | 774 | */ |
@@ -917,7 +917,7 @@ discard block |
||
917 | 917 | } |
918 | 918 | |
919 | 919 | /** |
920 | - * @param $src |
|
920 | + * @param string $src |
|
921 | 921 | */ |
922 | 922 | public static function addScript($src) |
923 | 923 | { |
@@ -1096,8 +1096,8 @@ discard block |
||
1096 | 1096 | } |
1097 | 1097 | |
1098 | 1098 | /** |
1099 | - * @param $module |
|
1100 | - * @param $file |
|
1099 | + * @param string $module |
|
1100 | + * @param string $file |
|
1101 | 1101 | */ |
1102 | 1102 | public static function loadLanguageFile($module, $file) |
1103 | 1103 | { |
@@ -1215,7 +1215,7 @@ discard block |
||
1215 | 1215 | * This function should be able to cover almost all floats that appear in an european environment. |
1216 | 1216 | * @param $str |
1217 | 1217 | * @param bool $set |
1218 | - * @return float|int |
|
1218 | + * @return double |
|
1219 | 1219 | */ |
1220 | 1220 | public static function getFloat($str, $set = false) |
1221 | 1221 | { |
@@ -1250,7 +1250,7 @@ discard block |
||
1250 | 1250 | /** |
1251 | 1251 | * @param $var |
1252 | 1252 | * @param bool $currencyObj |
1253 | - * @return float|int|mixed|string |
|
1253 | + * @return string |
|
1254 | 1254 | */ |
1255 | 1255 | public static function getCurrency($var, $currencyObj = false) |
1256 | 1256 | { |
@@ -1278,7 +1278,7 @@ discard block |
||
1278 | 1278 | |
1279 | 1279 | /** |
1280 | 1280 | * @param $var |
1281 | - * @return float|int|mixed|string |
|
1281 | + * @return string |
|
1282 | 1282 | */ |
1283 | 1283 | public static function float($var) |
1284 | 1284 | { |
@@ -1326,7 +1326,7 @@ discard block |
||
1326 | 1326 | /** |
1327 | 1327 | * @param $moduleName |
1328 | 1328 | * @param $items |
1329 | - * @return array |
|
1329 | + * @return string[] |
|
1330 | 1330 | */ |
1331 | 1331 | public static function getTablesArray($moduleName, $items) |
1332 | 1332 | { |