Skip to content

Commit

Permalink
Remove typed order in3 method
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Feb 19, 2024
1 parent 654d97e commit 8d49e83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Gateway/GatewayModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

namespace Mollie\WooCommerce\Gateway;

use Automattic\WooCommerce\Admin\Overrides\Order;
use Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController;
use Mollie\WooCommerce\Vendor\Inpsyde\Modularity\Module\ExecutableModule;
use Mollie\WooCommerce\Vendor\Inpsyde\Modularity\Module\ModuleClassNameIdTrait;
Expand Down Expand Up @@ -639,9 +638,9 @@ public function in3FieldsMandatory($fields, $errors)
}

/**
* @param Order $order
* @param $order
*/
public function in3FieldsMandatoryPayForOrder(Order $order)
public function in3FieldsMandatoryPayForOrder($order)
{
$paymentMethod = filter_input(INPUT_POST, 'payment_method', FILTER_SANITIZE_SPECIAL_CHARS) ?? false;

Expand Down

0 comments on commit 8d49e83

Please sign in to comment.