Completed
Push — update/story-block-keyboard-sh... ( c1f48f...098304 )
by
unknown
254:57 queued 244:25
created
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.