@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | * Whether the gateway and Payment Request Button (prerequisites for Apple Pay) are enabled. |
| 70 | 70 | * |
| 71 | 71 | * @since 4.5.4 |
| 72 | - * @return string Whether Apple Pay required settings are enabled. |
|
| 72 | + * @return boolean Whether Apple Pay required settings are enabled. |
|
| 73 | 73 | */ |
| 74 | 74 | private function is_enabled() { |
| 75 | 75 | $stripe_enabled = 'yes' === $this->get_option( 'enabled', 'no' ); |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * Add to the list of publicly allowed query variables. |
| 104 | 104 | * |
| 105 | 105 | * @param array $query_vars - provided public query vars. |
| 106 | - * @return array Updated public query vars. |
|
| 106 | + * @return string[] Updated public query vars. |
|
| 107 | 107 | */ |
| 108 | 108 | public function whitelist_domain_association_query_param( $query_vars ) { |
| 109 | 109 | $query_vars[] = 'apple-developer-merchantid-domain-association'; |
@@ -21,6 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Manage notes to show after Apple Pay domain verification. |
| 24 | + * @param boolean $verification_complete |
|
| 24 | 25 | */ |
| 25 | 26 | public static function notify_on_apple_pay_domain_verification( $verification_complete ) { |
| 26 | 27 | if ( ! class_exists( 'Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes' ) ) { |