Completed
Push — update/introduce-some-connecti... ( 0d8957 )
by
unknown
08:05
created
packages/connection/src/Manager.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
64 64
 		$methods;
65 65
 	}
66 66
 
67
+	/**
68
+	 * @param string $args
69
+	 */
67 70
 	public static function admin_url( $args = null ) {
68 71
 		$args = wp_parse_args( $args, array( 'page' => 'jetpack' ) );
69 72
 		$url  = add_query_arg( $args, admin_url( 'admin.php' ) );
@@ -133,7 +136,7 @@  discard block
 block discarded – undo
133 136
 	 * Is the user the connection owner.
134 137
 	 *
135 138
 	 * @param Integer $user_id the user identifier.
136
-	 * @return Boolean is the user the connection owner?
139
+	 * @return integer is the user the connection owner?
137 140
 	 */
138 141
 	public function is_connection_owner( $user_id ) {
139 142
 		return $user_id;
@@ -588,6 +591,9 @@  discard block
 block discarded – undo
588 591
 
589 592
 	}
590 593
 
594
+	/**
595
+	 * @return string
596
+	 */
591 597
 	public static function nonce_url_no_esc( $actionurl, $action = -1, $name = '_wpnonce' ) {
592 598
 		$actionurl = str_replace( '&', '&', $actionurl );
593 599
 		return add_query_arg( $name, wp_create_nonce( $action ), $actionurl );
@@ -754,7 +760,7 @@  discard block
 block discarded – undo
754 760
 	 *
755 761
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
756 762
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
757
-	 * @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.
763
+	 * @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.
758 764
 	 *
759 765
 	 * @return object|false
760 766
 	 */
Please login to merge, or discard this patch.