Skip to content

Commit

Permalink
Fix PHP compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
worais committed Oct 1, 2024
1 parent de72a6b commit 7d469a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class WC_Mocker_Gateway_Amazon_Payments_Advanced extends WC_Gateway_Amazon_Payme
*
* @param int|string $order_total The order total to be set.
*/
public function __construct( int|string $order_total = 50 ) {
public function __construct( $order_total = 50 ) {
$this->settings = WC_Amazon_Payments_Advanced_API::get_settings();

self::$order_total = $order_total;
Expand Down

0 comments on commit 7d469a4

Please sign in to comment.