@@ -165,7 +165,7 @@ |
||
165 | 165 | * @param string $url Request URL. |
166 | 166 | * @param mixed $body Request body. |
167 | 167 | * @param bool $verify_body_hash Whether to verify the body hash against the body. |
168 | - * @return string|WP_Error Request signature, or a WP_Error on failure. |
|
168 | + * @return string Request signature, or a WP_Error on failure. |
|
169 | 169 | */ |
170 | 170 | public function sign_request( $token = '', $timestamp = 0, $nonce = '', $body_hash = '', $method = '', $url = '', $body = null, $verify_body_hash = true ) { |
171 | 171 | if ( ! $this->secret ) { |