@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | - * @return string|bool Data. False on failure. |
|
| 189 | + * @return string Data. False on failure. |
|
| 190 | 190 | * @throws CURLError |
| 191 | 191 | */ |
| 192 | 192 | private function doCurlExecWithRetrys() { |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | * @param array $headers Array of headers to pass to curl |
| 227 | 227 | * @param bool $verifyssl override for the global verifyssl value |
| 228 | 228 | * |
| 229 | - * @return bool|string Result |
|
| 229 | + * @return string Result |
|
| 230 | 230 | */ |
| 231 | 231 | public function get( $url, $data = null, $headers = array(), $verifyssl = null ) { |
| 232 | 232 | global $argv, $displayGetOutData; |
@@ -280,7 +280,7 @@ discard block |
||
| 280 | 280 | * |
| 281 | 281 | * @param string $url URL to send |
| 282 | 282 | * @param array $data Array of data to pass. |
| 283 | - * @param array $headers Array of headers to pass to curl |
|
| 283 | + * @param string $headers Array of headers to pass to curl |
|
| 284 | 284 | * |
| 285 | 285 | * @param bool|null $verifyssl override for global verifyssl value |
| 286 | 286 | * |
@@ -644,7 +644,7 @@ |
||
| 644 | 644 | * @param $file |
| 645 | 645 | * @param $line |
| 646 | 646 | * @param $context |
| 647 | - * @return bool |
|
| 647 | + * @return false|null |
|
| 648 | 648 | * |
| 649 | 649 | * @FIXME: This method has inconsistent return types |
| 650 | 650 | */ |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * @param null $php_cli |
| 40 | - * @return null|string |
|
| 40 | + * @return string |
|
| 41 | 41 | * @throws Exception |
| 42 | 42 | */ |
| 43 | 43 | protected function find_php_cli($php_cli = null) |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | - * @param $message |
|
| 50 | + * @param string $message |
|
| 51 | 51 | * @param null $file |
| 52 | 52 | * @param null $line |
| 53 | 53 | * @param array $traces |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | /** |
| 117 | 117 | * @param $message |
| 118 | 118 | * @param null $colorizer_parameter |
| 119 | - * @param bool|true $colorize |
|
| 119 | + * @param boolean $colorize |
|
| 120 | 120 | */ |
| 121 | 121 | public function echoln($message, $colorizer_parameter = null, $colorize = true) |
| 122 | 122 | { |
@@ -2112,7 +2112,7 @@ |
||
| 2112 | 2112 | * @param string $summary Override the default edit summary for this rollback. Default null. |
| 2113 | 2113 | * @param bool $markbot If set, both the rollback and the revisions being rolled back will be marked as bot edits. |
| 2114 | 2114 | * @param string|bool $watch Unconditionally add or remove the page from your watchlist, use preferences or do not change watch. Default preferences. |
| 2115 | - * @return array Details of the rollback perform. ['revid']: The revision ID of the rollback. ['old_revid']: The revision ID of the first (most recent) revision that was rolled back. ['last_revid']: The revision ID of the last (oldest) revision that was rolled back. |
|
| 2115 | + * @return boolean Details of the rollback perform. ['revid']: The revision ID of the rollback. ['old_revid']: The revision ID of the first (most recent) revision that was rolled back. ['last_revid']: The revision ID of the last (oldest) revision that was rolled back. |
|
| 2116 | 2116 | */ |
| 2117 | 2117 | public function rollback( $force = false, $summary = null, $markbot = false, $watch = null ) { |
| 2118 | 2118 | global $pgNotag, $pgTag; |