@@ -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 | { |
@@ -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 | { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * Tries to find and include a file for a cache engine and returns object instance |
| 80 | 80 | * |
| 81 | 81 | * @param $name Name of the engine |
| 82 | - * @return mixed $engine object or null |
|
| 82 | + * @return boolean $engine object or null |
|
| 83 | 83 | * @access private |
| 84 | 84 | */ |
| 85 | 85 | private function loadEngine($name) |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | * |
| 207 | 207 | * @param string $key Identifier for the data |
| 208 | 208 | * @param mixed $value Data to be cached - anything except a resource |
| 209 | - * @param mixed $duration Optional - string configuration name OR how long to cache the data, either in seconds or a |
|
| 209 | + * @param string $duration Optional - string configuration name OR how long to cache the data, either in seconds or a |
|
| 210 | 210 | * string that can be parsed by the strtotime() function OR array('config' => 'default', 'duration' => '3600') |
| 211 | 211 | * @return boolean True if the data was successfully cached, false on failure |
| 212 | 212 | * @access public |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | * generates a safe key |
| 385 | 385 | * |
| 386 | 386 | * @param string $key the key passed over |
| 387 | - * @return mixed string $key or false |
|
| 387 | + * @return false|string string $key or false |
|
| 388 | 388 | * @access private |
| 389 | 389 | */ |
| 390 | 390 | public function key($key) |
@@ -449,7 +449,7 @@ discard block |
||
| 449 | 449 | * @param string $key Identifier for the data |
| 450 | 450 | * @param mixed $value Data to be cached |
| 451 | 451 | * @param mixed $duration How long to cache the data, in seconds |
| 452 | - * @return boolean True if the data was successfully cached, false on failure |
|
| 452 | + * @return boolean|null True if the data was successfully cached, false on failure |
|
| 453 | 453 | * @access public |
| 454 | 454 | */ |
| 455 | 455 | public function write($key, $value, $duration = null) |
@@ -473,7 +473,7 @@ discard block |
||
| 473 | 473 | * Delete a key from the cache |
| 474 | 474 | * |
| 475 | 475 | * @param string $key Identifier for the data |
| 476 | - * @return boolean True if the value was successfully deleted, false if it didn't exist or couldn't be removed |
|
| 476 | + * @return boolean|null True if the value was successfully deleted, false if it didn't exist or couldn't be removed |
|
| 477 | 477 | * @access public |
| 478 | 478 | */ |
| 479 | 479 | public function delete($key) |
@@ -484,7 +484,7 @@ discard block |
||
| 484 | 484 | * Delete all keys from the cache |
| 485 | 485 | * |
| 486 | 486 | * @param boolean $check if true will check expiration, otherwise delete all |
| 487 | - * @return boolean True if the cache was successfully cleared, false otherwise |
|
| 487 | + * @return boolean|null True if the cache was successfully cleared, false otherwise |
|
| 488 | 488 | * @access public |
| 489 | 489 | */ |
| 490 | 490 | public function clear($check) |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | /** |
| 495 | 495 | * Cache Engine settings |
| 496 | 496 | * |
| 497 | - * @return array settings |
|
| 497 | + * @return integer settings |
|
| 498 | 498 | * @access public |
| 499 | 499 | */ |
| 500 | 500 | public function settings() |
@@ -212,7 +212,7 @@ |
||
| 212 | 212 | /** |
| 213 | 213 | * Constructor |
| 214 | 214 | * @param $caption |
| 215 | - * @param $name |
|
| 215 | + * @param string $name |
|
| 216 | 216 | * @param $groupId |
| 217 | 217 | * @param null $values |
| 218 | 218 | */ |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | |
| 150 | 150 | // public |
| 151 | 151 | /** |
| 152 | - * @param null $value |
|
| 152 | + * @param string $value |
|
| 153 | 153 | */ |
| 154 | 154 | public function setTemplateDir($value = null) |
| 155 | 155 | { |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | |
| 164 | 164 | // private |
| 165 | 165 | /** |
| 166 | - * @return bool|string |
|
| 166 | + * @return string|false |
|
| 167 | 167 | */ |
| 168 | 168 | public function getTemplatePath() |
| 169 | 169 | { |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | |
| 188 | 188 | // public |
| 189 | 189 | /** |
| 190 | - * @param $value |
|
| 190 | + * @param string $value |
|
| 191 | 191 | */ |
| 192 | 192 | public function setTemplate($value) |
| 193 | 193 | { |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | // RMV-NOTIFY |
| 216 | 216 | // public |
| 217 | 217 | /** |
| 218 | - * @param $user |
|
| 218 | + * @param XoopsUser $user |
|
| 219 | 219 | */ |
| 220 | 220 | public function setFromUser($user) |
| 221 | 221 | { |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | |
| 236 | 236 | // public |
| 237 | 237 | /** |
| 238 | - * @param $value |
|
| 238 | + * @param string $value |
|
| 239 | 239 | */ |
| 240 | 240 | public function setSubject($value) |
| 241 | 241 | { |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | |
| 245 | 245 | // public |
| 246 | 246 | /** |
| 247 | - * @param $value |
|
| 247 | + * @param string $value |
|
| 248 | 248 | */ |
| 249 | 249 | public function setBody($value) |
| 250 | 250 | { |
@@ -374,8 +374,8 @@ discard block |
||
| 374 | 374 | // private |
| 375 | 375 | /** |
| 376 | 376 | * @param $uid |
| 377 | - * @param $subject |
|
| 378 | - * @param $body |
|
| 377 | + * @param string $subject |
|
| 378 | + * @param string $body |
|
| 379 | 379 | * |
| 380 | 380 | * @return bool |
| 381 | 381 | */ |
@@ -402,9 +402,9 @@ discard block |
||
| 402 | 402 | * Uses the new XoopsMultiMailer |
| 403 | 403 | * |
| 404 | 404 | * @param $email |
| 405 | - * @param $subject |
|
| 406 | - * @param $body |
|
| 407 | - * @param $headers |
|
| 405 | + * @param string $subject |
|
| 406 | + * @param string $body |
|
| 407 | + * @param string $headers |
|
| 408 | 408 | * |
| 409 | 409 | * @return bool |
| 410 | 410 | */ |
@@ -572,7 +572,7 @@ discard block |
||
| 572 | 572 | // abstract |
| 573 | 573 | // to be overridden by lang specific mail class, if needed |
| 574 | 574 | /** |
| 575 | - * @param $text |
|
| 575 | + * @param string $text |
|
| 576 | 576 | * |
| 577 | 577 | * @return mixed |
| 578 | 578 | */ |