diff --git a/Model/SimpleProtect/SimpleProtect.php b/Model/SimpleProtect/SimpleProtect.php index c470941..f272025 100644 --- a/Model/SimpleProtect/SimpleProtect.php +++ b/Model/SimpleProtect/SimpleProtect.php @@ -73,7 +73,7 @@ class SimpleProtect extends OrigSimpleProtect /** * Checkout session object * - * @var \Magento\Checkout\Model\Session\Proxy + * @var \Magento\Checkout\Model\Session */ protected $checkoutSession; @@ -89,13 +89,13 @@ class SimpleProtect extends OrigSimpleProtect * * @param \Payone\Core\Model\SimpleProtect\ProtectFunnel $protectFunnel * @param \Magento\Framework\App\ResourceConnection $resource - * @param \Magento\Checkout\Model\Session\Proxy $checkoutSession + * @param \Magento\Checkout\Model\Session $checkoutSession * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig */ public function __construct( \Payone\Core\Model\SimpleProtect\ProtectFunnel $protectFunnel, \Magento\Framework\App\ResourceConnection $resource, - \Magento\Checkout\Model\Session\Proxy $checkoutSession, + \Magento\Checkout\Model\Session $checkoutSession, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig ) { parent::__construct($protectFunnel); diff --git a/etc/di.xml b/etc/di.xml index ed47ff4..e9f2bdf 100644 --- a/etc/di.xml +++ b/etc/di.xml @@ -26,4 +26,9 @@ --> + + + Magento\Checkout\Model\Session\Proxy + +