@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | * Validate the require two step checkbox in Settings > General |
285 | 285 | * |
286 | 286 | * @since 2.7 |
287 | - * @return boolean |
|
287 | + * @return integer |
|
288 | 288 | **/ |
289 | 289 | public function validate_jetpack_sso_require_two_step( $input ) { |
290 | 290 | return ( ! empty( $input ) ) ? 1 : 0; |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | * Validate the match by email check in Settings > General |
310 | 310 | * |
311 | 311 | * @since 2.9 |
312 | - * @return boolean |
|
312 | + * @return integer |
|
313 | 313 | **/ |
314 | 314 | public function validate_jetpack_sso_match_by_email( $input ) { |
315 | 315 | return ( ! empty( $input ) ) ? 1 : 0; |
@@ -336,7 +336,7 @@ discard block |
||
336 | 336 | * Validate settings input from Settings > General |
337 | 337 | * |
338 | 338 | * @since 2.7 |
339 | - * @return boolean |
|
339 | + * @return integer |
|
340 | 340 | **/ |
341 | 341 | public function validate_settings_remove_login_form_checkbox( $input ) { |
342 | 342 | return ( isset( $input['remove_login_form'] ) )? 1: 0; |
@@ -911,7 +911,7 @@ discard block |
||
911 | 911 | * |
912 | 912 | * @param boolean $reauth Should the user be forced to reauthenticate on WordPress.com? |
913 | 913 | * @param array $args Optional query parameters. |
914 | - * @return string|WP_Error The WordPress.com SSO URL or a WP_Error object. |
|
914 | + * @return string The WordPress.com SSO URL or a WP_Error object. |
|
915 | 915 | */ |
916 | 916 | function get_sso_url_or_die( $reauth = false, $args = array() ) { |
917 | 917 | if ( empty( $reauth ) ) { |