@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @param int $user_id The user id. |
45 | 45 | * @param string $token The user token. |
46 | 46 | * @param bool $is_master_user Whether the user is the master user. |
47 | - * @return bool |
|
47 | + * @return boolean|null |
|
48 | 48 | */ |
49 | 49 | public static function update_user_token( $user_id, $token, $is_master_user ) { |
50 | 50 | _deprecated_function( __METHOD__, 'jetpack-9.5', 'Automattic\\Jetpack\\Connection\\Tokens->update_user_token' ); |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * |
134 | 134 | * @param string $option Option value from the site. |
135 | 135 | * @param callable $url_function Function retrieving the URL to normalize. |
136 | - * @return mixed|string URL. |
|
136 | + * @return callable URL. |
|
137 | 137 | */ |
138 | 138 | public static function normalize_www_in_url( $option, $url_function ) { |
139 | 139 | $url = wp_parse_url( call_user_func( $url_function ) ); |