@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | /** |
| 273 | 273 | * Verifies the signature of the current request. |
| 274 | 274 | * |
| 275 | - * @return false|array |
|
| 275 | + * @return boolean |
|
| 276 | 276 | */ |
| 277 | 277 | public function verify_xml_rpc_signature() { |
| 278 | 278 | if ( is_null( $this->xmlrpc_verification ) ) { |
@@ -1134,6 +1134,7 @@ discard block |
||
| 1134 | 1134 | * @param String $action The action name. |
| 1135 | 1135 | * @param Integer $user_id The user identifier. |
| 1136 | 1136 | * @param Integer $exp Expiration time in seconds. |
| 1137 | + * @return string |
|
| 1137 | 1138 | */ |
| 1138 | 1139 | public function generate_secrets( $action, $user_id = false, $exp = 600 ) { |
| 1139 | 1140 | $callable = $this->get_secret_callable(); |
@@ -1447,7 +1448,7 @@ discard block |
||
| 1447 | 1448 | /** |
| 1448 | 1449 | * Converts a WP_Error object to an \IXR_Error object. |
| 1449 | 1450 | * |
| 1450 | - * @param \WP_Error|\IXR_Error $error A WP_Error object. |
|
| 1451 | + * @param \WP_Error $error A WP_Error object. |
|
| 1451 | 1452 | * @return \IXR_Error |
| 1452 | 1453 | */ |
| 1453 | 1454 | private function convert_to_ixr_error( $error ) { |
@@ -1634,7 +1635,7 @@ discard block |
||
| 1634 | 1635 | * |
| 1635 | 1636 | * @param int|false $user_id false: Return the Blog Token. int: Return that user's User Token. |
| 1636 | 1637 | * @param string|false $token_key If provided, check that the token matches the provided input. |
| 1637 | - * @param bool|true $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found. |
|
| 1638 | + * @param boolean $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found. |
|
| 1638 | 1639 | * |
| 1639 | 1640 | * @return object|false |
| 1640 | 1641 | */ |