@@ -845,7 +845,7 @@ discard block |
||
| 845 | 845 | |
| 846 | 846 | /** |
| 847 | 847 | * @param string $content |
| 848 | - * @param string|array $keywords |
|
| 848 | + * @param string $keywords |
|
| 849 | 849 | * |
| 850 | 850 | * @return Text |
| 851 | 851 | */ |
@@ -1083,7 +1083,7 @@ discard block |
||
| 1083 | 1083 | public $publisher; |
| 1084 | 1084 | |
| 1085 | 1085 | /** |
| 1086 | - * @param null|XoopsDatabase $db |
|
| 1086 | + * @param XoopsDatabase $db |
|
| 1087 | 1087 | */ |
| 1088 | 1088 | public function __construct(XoopsDatabase $db) |
| 1089 | 1089 | { |
@@ -1094,7 +1094,7 @@ discard block |
||
| 1094 | 1094 | /** |
| 1095 | 1095 | * @param bool $isNew |
| 1096 | 1096 | * |
| 1097 | - * @return object |
|
| 1097 | + * @return XoopsObject |
|
| 1098 | 1098 | */ |
| 1099 | 1099 | public function &create($isNew = true) |
| 1100 | 1100 | { |
@@ -1111,7 +1111,7 @@ discard block |
||
| 1111 | 1111 | * |
| 1112 | 1112 | * @param int $id itemid of the user |
| 1113 | 1113 | * |
| 1114 | - * @return mixed reference to the {@link PublisherItem} object, FALSE if failed |
|
| 1114 | + * @return XoopsObject|null reference to the {@link PublisherItem} object, FALSE if failed |
|
| 1115 | 1115 | */ |
| 1116 | 1116 | public function &get($id) |
| 1117 | 1117 | { |
@@ -1552,7 +1552,7 @@ discard block |
||
| 1552 | 1552 | } |
| 1553 | 1553 | |
| 1554 | 1554 | /** |
| 1555 | - * @param string|array $notNullFields |
|
| 1555 | + * @param string $notNullFields |
|
| 1556 | 1556 | * @param bool $withAnd |
| 1557 | 1557 | * |
| 1558 | 1558 | * @return string |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | * @param string $area |
| 163 | 163 | * @param bool $allow_repost |
| 164 | 164 | * |
| 165 | - * @return bool |
|
| 165 | + * @return null|boolean |
|
| 166 | 166 | */ |
| 167 | 167 | public function check($post = true, $area = '', $allow_repost = true) |
| 168 | 168 | { |
@@ -297,10 +297,10 @@ discard block |
||
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | /** |
| 300 | - * @param $key_name |
|
| 300 | + * @param string $key_name |
|
| 301 | 301 | * @param $tmp_array |
| 302 | 302 | * |
| 303 | - * @return array |
|
| 303 | + * @return string[] |
|
| 304 | 304 | */ |
| 305 | 305 | public function extract_post_recursive($key_name, $tmp_array) |
| 306 | 306 | { |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | 116 | * @param $val |
| 117 | - * @param $key |
|
| 117 | + * @param string $key |
|
| 118 | 118 | */ |
| 119 | 119 | protected function _initial_recursive($val, $key) |
| 120 | 120 | { |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | * @param bool $unique_check |
| 255 | 255 | * @param int $level |
| 256 | 256 | * |
| 257 | - * @return bool |
|
| 257 | + * @return boolean|null |
|
| 258 | 258 | */ |
| 259 | 259 | public function output_log($type = 'UNKNOWN', $uid = 0, $unique_check = false, $level = 1) |
| 260 | 260 | { |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | } |
| 305 | 305 | |
| 306 | 306 | /** |
| 307 | - * @param $expire |
|
| 307 | + * @param integer $expire |
|
| 308 | 308 | * |
| 309 | 309 | * @return bool |
| 310 | 310 | */ |
@@ -326,7 +326,7 @@ discard block |
||
| 326 | 326 | } |
| 327 | 327 | |
| 328 | 328 | /** |
| 329 | - * @return mixed |
|
| 329 | + * @return integer |
|
| 330 | 330 | */ |
| 331 | 331 | public function get_bwlimit() |
| 332 | 332 | { |
@@ -1094,7 +1094,7 @@ discard block |
||
| 1094 | 1094 | * @param int $uid |
| 1095 | 1095 | * @param bool $can_ban |
| 1096 | 1096 | * |
| 1097 | - * @return bool |
|
| 1097 | + * @return boolean|null |
|
| 1098 | 1098 | */ |
| 1099 | 1099 | public function check_dos_attack($uid = 0, $can_ban = false) |
| 1100 | 1100 | { |
@@ -1334,7 +1334,7 @@ discard block |
||
| 1334 | 1334 | } |
| 1335 | 1335 | |
| 1336 | 1336 | /** |
| 1337 | - * @param $points4deny |
|
| 1337 | + * @param integer $points4deny |
|
| 1338 | 1338 | * @param $uid |
| 1339 | 1339 | */ |
| 1340 | 1340 | public function spam_check($points4deny, $uid) |
@@ -1445,10 +1445,10 @@ discard block |
||
| 1445 | 1445 | } |
| 1446 | 1446 | |
| 1447 | 1447 | /** |
| 1448 | - * @param $type |
|
| 1448 | + * @param string $type |
|
| 1449 | 1449 | * @param string $dying_message |
| 1450 | 1450 | * |
| 1451 | - * @return int|mixed |
|
| 1451 | + * @return null|integer |
|
| 1452 | 1452 | */ |
| 1453 | 1453 | public function call_filter($type, $dying_message = '') |
| 1454 | 1454 | { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | /** |
| 76 | 76 | * @param $type |
| 77 | 77 | * |
| 78 | - * @return int|mixed |
|
| 78 | + * @return integer |
|
| 79 | 79 | */ |
| 80 | 80 | public function execute($type) |
| 81 | 81 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | public $method; |
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | - * @return bool |
|
| 12 | + * @return null|boolean |
|
| 13 | 13 | */ |
| 14 | 14 | public function execute() |
| 15 | 15 | { |
@@ -6,7 +6,7 @@ discard block |
||
| 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 | { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | |
| 37 | 37 | // import from D3forumAntispamDefault.clas.php |
| 38 | 38 | /** |
| 39 | - * @param null $time |
|
| 39 | + * @param integer $time |
|
| 40 | 40 | * |
| 41 | 41 | * @return string |
| 42 | 42 | */ |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | * @param $xoops_root_path |
| 5 | 5 | * @param $mytrustdirname |
| 6 | 6 | * |
| 7 | - * @return array |
|
| 7 | + * @return string[] |
|
| 8 | 8 | */ |
| 9 | 9 | function get_writeoks_from_protector( $xoops_root_path , $mytrustdirname ) |
| 10 | 10 | { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | - * @return bool |
|
| 4 | + * @return boolean|null |
|
| 5 | 5 | */ |
| 6 | 6 | function protector_postcommon() |
| 7 | 7 | { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | - * @return bool |
|
| 4 | + * @return null|boolean |
|
| 5 | 5 | */ |
| 6 | 6 | function protector_prepare() |
| 7 | 7 | { |