From c6b1dab64534d2aa57c027038dcdcc273fc35e3a Mon Sep 17 00:00:00 2001 From: MarijusCoding Date: Fri, 22 Nov 2024 15:39:55 +0200 Subject: [PATCH] [SL-271] removed dependency --- src/Service/SaferPayObtainPaymentMethods.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Service/SaferPayObtainPaymentMethods.php b/src/Service/SaferPayObtainPaymentMethods.php index 4b6f30b6..86e7a625 100755 --- a/src/Service/SaferPayObtainPaymentMethods.php +++ b/src/Service/SaferPayObtainPaymentMethods.php @@ -25,7 +25,6 @@ use Exception; use Invertus\SaferPay\Api\Request\ObtainPaymentMethodsService; -use Invertus\SaferPay\Context\GlobalShopContext; use Invertus\SaferPay\Exception\Api\SaferPayApiException; use Invertus\SaferPay\Logger\LoggerInterface; use Invertus\SaferPay\Service\Request\ObtainPaymentMethodsObjectCreator; @@ -47,14 +46,12 @@ public function __construct( ObtainPaymentMethodsService $obtainPaymentMethodsService, ObtainPaymentMethodsObjectCreator $obtainPaymentMethodsObjectCreator, SaferPayPaymentNotation $saferPayPaymentNotation, - LoggerInterface $logger, - GlobalShopContext $context + LoggerInterface $logger ) { $this->obtainPaymentMethodsService = $obtainPaymentMethodsService; $this->obtainPaymentMethodsObjectCreator = $obtainPaymentMethodsObjectCreator; $this->saferPayPaymentNotation = $saferPayPaymentNotation; $this->logger = $logger; - $this->context = $context; } public function obtainPaymentMethods()