@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * This function mirrors Jetpack_Data::is_usable_domain() in the WPCOM codebase. |
45 | 45 | * |
46 | - * @param $domain |
|
46 | + * @param string|false $domain |
|
47 | 47 | * @param array $extra |
48 | 48 | * |
49 | 49 | * @return bool|WP_Error |
@@ -104,6 +104,7 @@ discard block |
||
104 | 104 | * See: https://bugs.php.net/bug.php?id=66229 and https://github.com/php/php-src/commit/d1314893fd1325ca6aa0831101896e31135a2658 |
105 | 105 | * |
106 | 106 | * This function mirrors Jetpack_Data::php_bug_66229_check() in the WPCOM codebase. |
107 | + * @param string $ip |
|
107 | 108 | */ |
108 | 109 | public static function php_bug_66229_check( $ip ) { |
109 | 110 | if ( ! filter_var( $ip, FILTER_VALIDATE_IP ) ) { |