|
@@ -69,7 +69,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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'; |
Please login to merge, or discard this patch.