@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | |
| 171 | 171 | /** |
| 172 | 172 | * IXR_Message constructor. |
| 173 | - * @param $message |
|
| 173 | + * @param string|boolean $message |
|
| 174 | 174 | */ |
| 175 | 175 | public function __construct($message) |
| 176 | 176 | { |
@@ -897,7 +897,7 @@ discard block |
||
| 897 | 897 | |
| 898 | 898 | /** |
| 899 | 899 | * IXR_Base64 constructor. |
| 900 | - * @param $data |
|
| 900 | + * @param string $data |
|
| 901 | 901 | */ |
| 902 | 902 | public function __construct($data) |
| 903 | 903 | { |
@@ -939,10 +939,10 @@ discard block |
||
| 939 | 939 | } |
| 940 | 940 | |
| 941 | 941 | /** |
| 942 | - * @param $method |
|
| 943 | - * @param $callback |
|
| 944 | - * @param $args |
|
| 945 | - * @param $help |
|
| 942 | + * @param string $method |
|
| 943 | + * @param string $callback |
|
| 944 | + * @param string[] $args |
|
| 945 | + * @param string $help |
|
| 946 | 946 | */ |
| 947 | 947 | public function addCallback($method, $callback, $args, $help) |
| 948 | 948 | { |
@@ -369,7 +369,7 @@ discard block |
||
| 369 | 369 | public $_feed; |
| 370 | 370 | |
| 371 | 371 | /** |
| 372 | - * @param $format |
|
| 372 | + * @param string $format |
|
| 373 | 373 | */ |
| 374 | 374 | public function _setFormat($format) |
| 375 | 375 | { |
@@ -566,7 +566,7 @@ discard block |
||
| 566 | 566 | /** |
| 567 | 567 | * Adds an FeedItem to the feed. |
| 568 | 568 | * |
| 569 | - * @param $item |
|
| 569 | + * @param FeedItem $item |
|
| 570 | 570 | * @internal param FeedItem $object $item The FeedItem to add to the feed. |
| 571 | 571 | * @access public |
| 572 | 572 | */ |
@@ -585,6 +585,7 @@ discard block |
||
| 585 | 585 | * @static |
| 586 | 586 | * @param string string A string to be truncated. |
| 587 | 587 | * @param int length the maximum length the string should be truncated to |
| 588 | + * @param integer $length |
|
| 588 | 589 | * @return string the truncated string |
| 589 | 590 | */ |
| 590 | 591 | public function iTrunc($string, $length) |
@@ -696,7 +697,7 @@ discard block |
||
| 696 | 697 | /** |
| 697 | 698 | * @since 1.4 |
| 698 | 699 | * @access private |
| 699 | - * @param $filename |
|
| 700 | + * @param string $filename |
|
| 700 | 701 | */ |
| 701 | 702 | public function _redirect($filename) |
| 702 | 703 | { |
@@ -853,7 +854,7 @@ discard block |
||
| 853 | 854 | /** |
| 854 | 855 | * Gets the date stored in this FeedDate as an RFC 822 date. |
| 855 | 856 | * |
| 856 | - * @return a date in RFC 822 format |
|
| 857 | + * @return string date in RFC 822 format |
|
| 857 | 858 | */ |
| 858 | 859 | public function rfc822() |
| 859 | 860 | { |
@@ -869,7 +870,7 @@ discard block |
||
| 869 | 870 | /** |
| 870 | 871 | * Gets the date stored in this FeedDate as an ISO 8601 date. |
| 871 | 872 | * |
| 872 | - * @return a date in ISO 8601 format |
|
| 873 | + * @return string date in ISO 8601 format |
|
| 873 | 874 | */ |
| 874 | 875 | public function iso8601() |
| 875 | 876 | { |
@@ -999,7 +1000,7 @@ discard block |
||
| 999 | 1000 | /** |
| 1000 | 1001 | * Sets this RSS feed's version number. |
| 1001 | 1002 | * @access private |
| 1002 | - * @param $version |
|
| 1003 | + * @param string $version |
|
| 1003 | 1004 | */ |
| 1004 | 1005 | public function _setRSSVersion($version) |
| 1005 | 1006 | { |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | // smart append - field and namespace aware |
| 307 | 307 | |
| 308 | 308 | /** |
| 309 | - * @param $el |
|
| 309 | + * @param string $el |
|
| 310 | 310 | * @param $text |
| 311 | 311 | */ |
| 312 | 312 | public function append($el, $text) |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | } |
| 391 | 391 | |
| 392 | 392 | /** |
| 393 | - * @return bool |
|
| 393 | + * @return string|false |
|
| 394 | 394 | */ |
| 395 | 395 | public function is_rss() |
| 396 | 396 | { |
@@ -402,7 +402,7 @@ discard block |
||
| 402 | 402 | } |
| 403 | 403 | |
| 404 | 404 | /** |
| 405 | - * @return bool |
|
| 405 | + * @return string|false |
|
| 406 | 406 | */ |
| 407 | 407 | public function is_atom() |
| 408 | 408 | { |
@@ -415,10 +415,10 @@ discard block |
||
| 415 | 415 | |
| 416 | 416 | /** |
| 417 | 417 | * return XML parser, and possibly re-encoded source |
| 418 | - * @param $source |
|
| 419 | - * @param $out_enc |
|
| 420 | - * @param $in_enc |
|
| 421 | - * @param $detect |
|
| 418 | + * @param string $source |
|
| 419 | + * @param string $out_enc |
|
| 420 | + * @param string|null $in_enc |
|
| 421 | + * @param boolean $detect |
|
| 422 | 422 | * @return array |
| 423 | 423 | */ |
| 424 | 424 | public function create_parser($source, $out_enc, $in_enc, $detect) |
@@ -528,7 +528,7 @@ discard block |
||
| 528 | 528 | |
| 529 | 529 | /** |
| 530 | 530 | * @param $enc |
| 531 | - * @return bool|string |
|
| 531 | + * @return string|false |
|
| 532 | 532 | */ |
| 533 | 533 | public function known_encoding($enc) |
| 534 | 534 | { |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * @var mixed $pattern |
| 118 | 118 | * @var mixed $replacement |
| 119 | 119 | * |
| 120 | - * @return bool true on success |
|
| 120 | + * @return null|boolean true on success |
|
| 121 | 121 | */ |
| 122 | 122 | public static function planetParseClass($class_string, $pattern = '', $replacement = '') |
| 123 | 123 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | * @var mixed $pattern |
| 154 | 154 | * @var mixed $replacement |
| 155 | 155 | * |
| 156 | - * @return bool true on success |
|
| 156 | + * @return null|boolean true on success |
|
| 157 | 157 | */ |
| 158 | 158 | public static function planetParseFunction($function_string, $pattern = '', $replacement = '') |
| 159 | 159 | { |
@@ -520,7 +520,7 @@ discard block |
||
| 520 | 520 | |
| 521 | 521 | /** |
| 522 | 522 | * @param $url |
| 523 | - * @return bool|string |
|
| 523 | + * @return false|string |
|
| 524 | 524 | */ |
| 525 | 525 | public static function planetFetchFopen($url) |
| 526 | 526 | { |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | - * @return bool|string |
|
| 87 | + * @return string|false |
|
| 88 | 88 | */ |
| 89 | 89 | public function is_atom() |
| 90 | 90 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * @var mixed $pattern |
| 112 | 112 | * @var mixed $replacement |
| 113 | 113 | * |
| 114 | - * @return bool true on success |
|
| 114 | + * @return null|boolean true on success |
|
| 115 | 115 | */ |
| 116 | 116 | function planetParseClass($class_string, $pattern = '', $replacement = '') |
| 117 | 117 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * @var mixed $pattern |
| 148 | 148 | * @var mixed $replacement |
| 149 | 149 | * |
| 150 | - * @return bool true on success |
|
| 150 | + * @return null|boolean true on success |
|
| 151 | 151 | */ |
| 152 | 152 | function planetParseFunction($function_string, $pattern = '', $replacement = '') |
| 153 | 153 | { |
@@ -512,7 +512,7 @@ discard block |
||
| 512 | 512 | |
| 513 | 513 | /** |
| 514 | 514 | * @param $url |
| 515 | - * @return bool|string |
|
| 515 | + * @return false|string |
|
| 516 | 516 | */ |
| 517 | 517 | function planet_fetch_fopen($url) |
| 518 | 518 | { |
@@ -287,7 +287,7 @@ |
||
| 287 | 287 | // Used in get_calendar |
| 288 | 288 | /** |
| 289 | 289 | * @param $num |
| 290 | - * @return mixed |
|
| 290 | + * @return double |
|
| 291 | 291 | */ |
| 292 | 292 | function planet_calendar_week_mod($num) |
| 293 | 293 | { |