@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | /** |
| 160 | 160 | * Adds Jetpack SSO classes to login body |
| 161 | 161 | * @param array $classes Array of classes to add to body tag |
| 162 | - * @return array Array of classes to add to body tag |
|
| 162 | + * @return string[] Array of classes to add to body tag |
|
| 163 | 163 | */ |
| 164 | 164 | public function login_body_class( $classes ) { |
| 165 | 165 | $classes[] = 'jetpack-sso-body'; |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | * Validate the require two step checkbox in Settings > General |
| 258 | 258 | * |
| 259 | 259 | * @since 2.7 |
| 260 | - * @return boolean |
|
| 260 | + * @return integer |
|
| 261 | 261 | **/ |
| 262 | 262 | public function validate_jetpack_sso_require_two_step( $input ) { |
| 263 | 263 | return ( ! empty( $input ) ) ? 1 : 0; |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | * Validate the match by email check in Settings > General |
| 283 | 283 | * |
| 284 | 284 | * @since 2.9 |
| 285 | - * @return boolean |
|
| 285 | + * @return integer |
|
| 286 | 286 | **/ |
| 287 | 287 | public function validate_jetpack_sso_match_by_email( $input ) { |
| 288 | 288 | return ( ! empty( $input ) ) ? 1 : 0; |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | * Validate settings input from Settings > General |
| 310 | 310 | * |
| 311 | 311 | * @since 2.7 |
| 312 | - * @return boolean |
|
| 312 | + * @return integer |
|
| 313 | 313 | **/ |
| 314 | 314 | public function validate_settings_remove_login_form_checkbox( $input ) { |
| 315 | 315 | return ( isset( $input['remove_login_form'] ) )? 1: 0; |