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()