@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | * Validate the require two step checkbox in Settings > General |
230 | 230 | * |
231 | 231 | * @since 2.7 |
232 | - * @return boolean |
|
232 | + * @return integer |
|
233 | 233 | **/ |
234 | 234 | public function validate_jetpack_sso_require_two_step( $input ) { |
235 | 235 | return ( ! empty( $input ) ) ? 1 : 0; |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | * Validate the match by email check in Settings > General |
253 | 253 | * |
254 | 254 | * @since 2.9 |
255 | - * @return boolean |
|
255 | + * @return integer |
|
256 | 256 | **/ |
257 | 257 | public function validate_jetpack_sso_match_by_email( $input ) { |
258 | 258 | return ( ! empty( $input ) ) ? 1 : 0; |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | * Validate settings input from Settings > General |
280 | 280 | * |
281 | 281 | * @since 2.7 |
282 | - * @return boolean |
|
282 | + * @return integer |
|
283 | 283 | **/ |
284 | 284 | public function validate_settings_remove_login_form_checkbox( $input ) { |
285 | 285 | return ( isset( $input['remove_login_form'] ) )? 1: 0; |