Skip to content

Commit 7d469a4

Browse files
committed
Fix PHP compatibility
1 parent de72a6b commit 7d469a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/mockers/class-wc-mocker-gateway-amazon-payments-advanced.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class WC_Mocker_Gateway_Amazon_Payments_Advanced extends WC_Gateway_Amazon_Payme
2323
*
2424
* @param int|string $order_total The order total to be set.
2525
*/
26-
public function __construct( int|string $order_total = 50 ) {
26+
public function __construct( $order_total = 50 ) {
2727
$this->settings = WC_Amazon_Payments_Advanced_API::get_settings();
2828

2929
self::$order_total = $order_total;

0 commit comments

Comments
 (0)