@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * |
28 | 28 | * @param string $type The type of option to return. Defaults to 'compact'. |
29 | 29 | * |
30 | - * @return array |
|
30 | + * @return string[] |
|
31 | 31 | */ |
32 | 32 | public static function get_option_names( $type = 'compact' ) { |
33 | 33 | switch ( $type ) { |
@@ -505,7 +505,7 @@ discard block |
||
505 | 505 | * @since 5.4.0 |
506 | 506 | * |
507 | 507 | * @param boolean $strip_unsafe_options If true, and by default, will strip out options necessary for the connection to WordPress.com. |
508 | - * @return array An array of all options managed via the Jetpack_Options class. |
|
508 | + * @return string[] An array of all options managed via the Jetpack_Options class. |
|
509 | 509 | */ |
510 | 510 | public static function get_all_jetpack_options( $strip_unsafe_options = true ) { |
511 | 511 | $jetpack_options = self::get_option_names(); |
@@ -548,7 +548,7 @@ discard block |
||
548 | 548 | * |
549 | 549 | * @since 5.4.0 |
550 | 550 | * |
551 | - * @return array |
|
551 | + * @return string[] |
|
552 | 552 | */ |
553 | 553 | public static function get_all_wp_options() { |
554 | 554 | // A manual build of the wp options. |
@@ -103,7 +103,7 @@ |
||
103 | 103 | * |
104 | 104 | * @param string $content The current message. |
105 | 105 | * |
106 | - * @return array The new message. |
|
106 | + * @return string The new message. |
|
107 | 107 | */ |
108 | 108 | public static function jitm_woocommerce_services_msg( $content ) { |
109 | 109 | if ( ! function_exists( 'wc_get_base_location' ) ) { |