Completed
Push — add/partial-reconnect ( 4f78d0 )
by
unknown
75:17 queued 68:18
created
packages/connection/src/class-manager.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 	/**
314 314
 	 * Verifies the signature of the current request.
315 315
 	 *
316
-	 * @return false|array
316
+	 * @return boolean
317 317
 	 */
318 318
 	public function verify_xml_rpc_signature() {
319 319
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1286,6 +1286,7 @@  discard block
 block discarded – undo
1286 1286
 	 * @param String  $action  The action name.
1287 1287
 	 * @param Integer $user_id The user identifier.
1288 1288
 	 * @param Integer $exp     Expiration time in seconds.
1289
+	 * @return string
1289 1290
 	 */
1290 1291
 	public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
1291 1292
 		if ( false === $user_id ) {
@@ -1479,7 +1480,7 @@  discard block
 block discarded – undo
1479 1480
 	/**
1480 1481
 	 * Validate the tokens, and refresh the invalid ones.
1481 1482
 	 *
1482
-	 * @return string|true True if connection restored, otherwise string indicating what's to be done next.
1483
+	 * @return string|boolean True if connection restored, otherwise string indicating what's to be done next.
1483 1484
 	 */
1484 1485
 	public function restore() {
1485 1486
 		$invalid_tokens = array();
@@ -2228,7 +2229,7 @@  discard block
 block discarded – undo
2228 2229
 	 *
2229 2230
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
2230 2231
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
2231
-	 * @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.
2232
+	 * @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.
2232 2233
 	 *
2233 2234
 	 * @return object|false
2234 2235
 	 */
Please login to merge, or discard this patch.