Skip to content

Commit

Permalink
CustomerSession
Browse files Browse the repository at this point in the history
  • Loading branch information
krzGablo committed Mar 11, 2024
1 parent 8ebfb97 commit 78d92de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Model/TpayPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Tpay\Magento2\Model;

use Magento\Checkout\Model\Session;
use Magento\Customer\Model\Session as CustomerSession;
use Magento\Framework\DataObject;
use Magento\Framework\Escaper;
use Magento\Framework\Event\ManagerInterface;
Expand Down Expand Up @@ -52,7 +53,7 @@ class TpayPayment extends Adapter implements TpayInterface
/** @var Session */
protected $checkoutSession;

/** @var \Magento\Customer\Model\Session */
/** @var CustomerSession */
protected $customerSession;

/** @var OrderRepositoryInterface */
Expand Down Expand Up @@ -88,7 +89,7 @@ class TpayPayment extends Adapter implements TpayInterface
public function __construct(
UrlInterface $urlBuilder,
Session $checkoutSession,
\Magento\Customer\Model\Session $customerSession,
CustomerSession $customerSession,
OrderRepositoryInterface $orderRepository,
Escaper $escaper,
StoreManager $storeManager,
Expand Down

0 comments on commit 78d92de

Please sign in to comment.