Completed
Push — move-fix-url-to-connection-pac... ( f82088 )
by
unknown
56:06 queued 49:21
created
packages/connection/src/Manager.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
 	/**
274 274
 	 * Verifies the signature of the current request.
275 275
 	 *
276
-	 * @return false|array
276
+	 * @return boolean
277 277
 	 */
278 278
 	public function verify_xml_rpc_signature() {
279 279
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1099,6 +1099,7 @@  discard block
 block discarded – undo
1099 1099
 	 * @param String  $action  The action name.
1100 1100
 	 * @param Integer $user_id The user identifier.
1101 1101
 	 * @param Integer $exp     Expiration time in seconds.
1102
+	 * @return string
1102 1103
 	 */
1103 1104
 	public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
1104 1105
 		$callable = $this->get_secret_callable();
@@ -1505,7 +1506,7 @@  discard block
 block discarded – undo
1505 1506
 	 *
1506 1507
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
1507 1508
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
1508
-	 * @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.
1509
+	 * @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.
1509 1510
 	 *
1510 1511
 	 * @return object|false
1511 1512
 	 */
@@ -1738,6 +1739,7 @@  discard block
 block discarded – undo
1738 1739
 
1739 1740
 	/**
1740 1741
 	 * Some hosts disable the OpenSSL extension and so cannot make outgoing HTTPS requsets
1742
+	 * @return string
1741 1743
 	 */
1742 1744
 	public static function fix_url_for_bad_hosts( $url ) {
1743 1745
 		if ( 0 !== strpos( $url, 'https://' ) ) {
Please login to merge, or discard this patch.