@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * WordPress.com. |
60 | 60 | * |
61 | 61 | * @param Integer $user_id the user identifier. |
62 | - * @return Boolean is the user connected? |
|
62 | + * @return integer is the user connected? |
|
63 | 63 | */ |
64 | 64 | public function is_user_connected( $user_id ) { |
65 | 65 | return $user_id; |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | * Is the user the connection owner. |
103 | 103 | * |
104 | 104 | * @param Integer $user_id the user identifier. |
105 | - * @return Boolean is the user the connection owner? |
|
105 | + * @return integer is the user the connection owner? |
|
106 | 106 | */ |
107 | 107 | public function is_connection_owner( $user_id ) { |
108 | 108 | return $user_id; |
@@ -546,7 +546,7 @@ discard block |
||
546 | 546 | * 2. Stored Normal Tokens (via Jetpack_Options::get_option( 'blog_token' )) |
547 | 547 | * 3. Defined Normal Tokens (via the JETPACK_BLOG_TOKEN constant) |
548 | 548 | * |
549 | - * @param int|false $user_id false: Return the Blog Token. int: Return that user's User Token. |
|
549 | + * @param boolean $user_id false: Return the Blog Token. int: Return that user's User Token. |
|
550 | 550 | * @param string|false $token_key If provided, check that the token matches the provided input. |
551 | 551 | * |
552 | 552 | * @return object|false |