@@ -50,7 +50,7 @@ |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @param $value |
|
53 | + * @param string $value |
|
54 | 54 | * @param string $name |
55 | 55 | */ |
56 | 56 | public function addMenuTop($value, $name = '') |
@@ -114,7 +114,7 @@ |
||
114 | 114 | class SystemuserrankHandler extends XoopsPersistableObjectHandler |
115 | 115 | { |
116 | 116 | /** |
117 | - * @param null|XoopsDatabase $db |
|
117 | + * @param XoopsDatabase $db |
|
118 | 118 | */ |
119 | 119 | public function __construct(XoopsDatabase $db) |
120 | 120 | { |
@@ -18,10 +18,10 @@ discard block |
||
18 | 18 | * |
19 | 19 | * Comment by Taiwen Jiang (a.k.a. phppp): THE METHOD IS NOT COMPLETE AND NOT SAFE. YOU ARE ENCOURAGED TO USE PHP'S NATIVE FILTER_VAR OR FILTER_INPUT FUNCTIONS DIRECTLY BEFORE WE MIGRATE TO XOOPS 3. |
20 | 20 | * @param $global |
21 | - * @param $key |
|
21 | + * @param string $key |
|
22 | 22 | * @param string $default |
23 | 23 | * @param string $type |
24 | - * @return int|mixed|string |
|
24 | + * @return integer |
|
25 | 25 | */ |
26 | 26 | function system_CleanVars(&$global, $key, $default = '', $type = 'int') |
27 | 27 | { |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
106 | - * @param $img |
|
106 | + * @param string $img |
|
107 | 107 | * |
108 | 108 | * @return mixed |
109 | 109 | */ |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class Protector_postcommon_post_deny_by_httpbl extends ProtectorFilterAbstract |
10 | 10 | { |
11 | 11 | /** |
12 | - * @return bool |
|
12 | + * @return null|boolean |
|
13 | 13 | */ |
14 | 14 | public function execute() |
15 | 15 | { |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class Protector_postcommon_post_deny_by_rbl extends ProtectorFilterAbstract |
7 | 7 | { |
8 | 8 | /** |
9 | - * @return bool |
|
9 | + * @return null|boolean |
|
10 | 10 | */ |
11 | 11 | public function execute() |
12 | 12 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class Protector_postcommon_post_need_multibyte extends ProtectorFilterAbstract |
10 | 10 | { |
11 | 11 | /** |
12 | - * @return bool |
|
12 | + * @return boolean|null |
|
13 | 13 | */ |
14 | 14 | public function execute() |
15 | 15 | { |
@@ -8,7 +8,7 @@ |
||
8 | 8 | class Protector_postcommon_post_register_moratorium extends ProtectorFilterAbstract |
9 | 9 | { |
10 | 10 | /** |
11 | - * @return bool |
|
11 | + * @return boolean|null |
|
12 | 12 | */ |
13 | 13 | public function execute() |
14 | 14 | { |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class Protector_postcommon_register_insert_js_check extends ProtectorFilterAbstract |
7 | 7 | { |
8 | 8 | /** |
9 | - * @return bool |
|
9 | + * @return null|boolean |
|
10 | 10 | */ |
11 | 11 | public function execute() |
12 | 12 | { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | protected $minimumConfidence = 65.0; // set at your desired threshold |
24 | 24 | |
25 | 25 | /** |
26 | - * @return bool |
|
26 | + * @return boolean|null |
|
27 | 27 | */ |
28 | 28 | public function execute() |
29 | 29 | { |