Completed
Push — update/xmlrpc_methods_visibili... ( 48b747...919878 )
by
unknown
130:27 queued 119:53
created
projects/packages/connection/src/class-manager.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 	 * @since 9.6.0 Deprecate $is_active param.
104 104
 	 *
105 105
 	 * @param array                  $request_params incoming request parameters.
106
-	 * @param null                   $deprecated Deprecated. whether the connection is currently active.
106
+	 * @param null|boolean                   $deprecated Deprecated. whether the connection is currently active.
107 107
 	 * @param Boolean                $is_signed whether the signature check has been successful.
108 108
 	 * @param \Jetpack_XMLRPC_Server $xmlrpc_server (optional) an instance of the server to use instead of instantiating a new one.
109 109
 	 */
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 	/**
288 288
 	 * Verifies the signature of the current request.
289 289
 	 *
290
-	 * @return false|array
290
+	 * @return boolean
291 291
 	 */
292 292
 	public function verify_xml_rpc_signature() {
293 293
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1480,7 +1480,7 @@  discard block
 block discarded – undo
1480 1480
 	/**
1481 1481
 	 * Obtains the auth token.
1482 1482
 	 *
1483
-	 * @param array $data The request data.
1483
+	 * @param string $data The request data.
1484 1484
 	 * @return object|\WP_Error Returns the auth token on success.
1485 1485
 	 *                          Returns a \WP_Error on failure.
1486 1486
 	 */
@@ -2105,7 +2105,7 @@  discard block
 block discarded – undo
2105 2105
 	 * @deprecated 9.5 Use Automattic\Jetpack\Connection\Tokens->get_signed_token() instead.
2106 2106
 	 *
2107 2107
 	 * @param object $token the token.
2108
-	 * @return WP_Error|string a signed token
2108
+	 * @return string a signed token
2109 2109
 	 */
2110 2110
 	public function get_signed_token( $token ) {
2111 2111
 		_deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Tokens->get_signed_token' );
Please login to merge, or discard this patch.