Skip to content

Commit

Permalink
Fix constructor after parent class was updated
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejslawik committed Apr 30, 2021
1 parent 9a05de9 commit 6ff219f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Gateway/Request/CheckoutDataBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
namespace Jh\AdyenPayment\Gateway\Request;

use Adyen\Payment\Gateway\Request\CheckoutDataBuilder as OrigCheckoutDataBuilder;
use Adyen\Payment\Helper\ChargedCurrency;
use Adyen\Payment\Helper\Data;
use Adyen\Payment\Model\Gender;
use Magento\Framework\UrlInterface;
use Magento\Store\Model\StoreManagerInterface;
use Magento\Quote\Api\CartRepositoryInterface;

Expand All @@ -18,9 +20,11 @@ public function __construct(
Data $adyenHelper,
StoreManagerInterface $storeManager,
CartRepositoryInterface $cartRepository,
Gender $gender
Gender $gender,
ChargedCurrency $chargedCurrency,
UrlInterface $url
) {
parent::__construct($adyenHelper, $storeManager, $cartRepository, $gender);
parent::__construct($adyenHelper, $storeManager, $cartRepository, $gender, $chargedCurrency, $url);

$this->adyenHelper = $adyenHelper;
}
Expand Down

0 comments on commit 6ff219f

Please # to comment.