From aa42949fbdf63dfa20a32e3245612075afce7f76 Mon Sep 17 00:00:00 2001 From: Iman Aboheydary Date: Tue, 6 Feb 2024 07:55:58 +0100 Subject: [PATCH] Fix php md, DEV-363 --- .../Model/Purchaseorder/AddCustomerGroupCheckPlugin.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Plugin/OfflinePayments/Model/Purchaseorder/AddCustomerGroupCheckPlugin.php b/Plugin/OfflinePayments/Model/Purchaseorder/AddCustomerGroupCheckPlugin.php index f74f3c3..18e4487 100644 --- a/Plugin/OfflinePayments/Model/Purchaseorder/AddCustomerGroupCheckPlugin.php +++ b/Plugin/OfflinePayments/Model/Purchaseorder/AddCustomerGroupCheckPlugin.php @@ -20,6 +20,9 @@ public function __construct(Config $config) $this->config = $config; } + /** + * @SuppressWarnings(PHPMD.UnusedFormalParameter) + */ public function afterIsAvailable(Purchaseorder $subject, bool $result, CartInterface $quote = null): bool { // if some other rule forbids this payment method, we forbid it as well