@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | /** |
184 | 184 | * Return a hosting provider using a set of known constants. |
185 | 185 | * |
186 | - * @return mixed A host identifier string or false. |
|
186 | + * @return string|false A host identifier string or false. |
|
187 | 187 | */ |
188 | 188 | public static function get_hosting_provider_by_known_constant() { |
189 | 189 | $hosting_provider = false; |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | /** |
219 | 219 | * Return a hosting provider using a set of known classes. |
220 | 220 | * |
221 | - * @return mixed A host identifier string or false. |
|
221 | + * @return string|false A host identifier string or false. |
|
222 | 222 | */ |
223 | 223 | public static function get_hosting_provider_by_known_class() { |
224 | 224 | $hosting_provider = false; |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | /** |
236 | 236 | * Return a hosting provider using a set of known functions. |
237 | 237 | * |
238 | - * @return mixed A host identifier string or false. |
|
238 | + * @return string|false A host identifier string or false. |
|
239 | 239 | */ |
240 | 240 | public static function get_hosting_provider_by_known_function() { |
241 | 241 | $hosting_provider = false; |
@@ -450,7 +450,7 @@ discard block |
||
450 | 450 | * |
451 | 451 | * @param string $option Option value from the site. |
452 | 452 | * @param callable $url_function Function retrieving the URL to normalize. |
453 | - * @return mixed|string URL. |
|
453 | + * @return callable URL. |
|
454 | 454 | */ |
455 | 455 | public static function normalize_www_in_url( $option, $url_function ) { |
456 | 456 | $url = wp_parse_url( call_user_func( $url_function ) ); |