Completed
Push — add/rna-connection-in-place ( c4ab4e...3b07d4 )
by
unknown
63:39 queued 53:38
created
projects/packages/connection/src/class-manager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 	/**
291 291
 	 * Verifies the signature of the current request.
292 292
 	 *
293
-	 * @return false|array
293
+	 * @return boolean
294 294
 	 */
295 295
 	public function verify_xml_rpc_signature() {
296 296
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1464,7 +1464,7 @@  discard block
 block discarded – undo
1464 1464
 	/**
1465 1465
 	 * Obtains the auth token.
1466 1466
 	 *
1467
-	 * @param array $data The request data.
1467
+	 * @param string $data The request data.
1468 1468
 	 * @return object|\WP_Error Returns the auth token on success.
1469 1469
 	 *                          Returns a \WP_Error on failure.
1470 1470
 	 */
Please login to merge, or discard this patch.
projects/packages/connection/src/class-tokens.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 	 * @param int    $user_id The user id.
220 220
 	 * @param string $token The user token.
221 221
 	 * @param bool   $is_master_user Whether the user is the master user.
222
-	 * @return bool
222
+	 * @return boolean|null
223 223
 	 */
224 224
 	public function update_user_token( $user_id, $token, $is_master_user ) {
225 225
 		// Not designed for concurrent updates.
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
 	 * Fetches a signed token.
496 496
 	 *
497 497
 	 * @param object $token the token.
498
-	 * @return WP_Error|string a signed token
498
+	 * @return string a signed token
499 499
 	 */
500 500
 	public function get_signed_token( $token ) {
501 501
 		if ( ! isset( $token->secret ) || empty( $token->secret ) ) {
Please login to merge, or discard this patch.