Skip to content

Commit

Permalink
Merge pull request #76 from Affirm/fix/php8-support
Browse files Browse the repository at this point in the history
PHP 8 Support
  • Loading branch information
taehyunlim authored May 24, 2022
2 parents f864121 + c572aa3 commit db8a0b2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Block/Promotion/AslowasAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ public function __construct(
ConfigProvider $configProvider,
Config $configAffirm,
Payment $helperAffirm,
array $data = [],
AsLowAs $asLowAs,
Rule $rule,
CategoryCollectionFactory $categoryCollectionFactory
CategoryCollectionFactory $categoryCollectionFactory,
array $data = []
) {
if (isset($data['position']) && $data['position']) {
$this->position = $data['position'];
Expand Down
4 changes: 2 additions & 2 deletions Block/Promotion/Banners.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ public function __construct(
Config $configAffirm,
ConfigProvider $configProvider,
Payment $helper,
array $data = [],
Helper\FinancingProgram $fpHelper,
Helper\AsLowAs $alaHelper
Helper\AsLowAs $alaHelper,
array $data = []
) {
$this->affirmPaymentConfig = $configAffirm;
$this->helper = $helper;
Expand Down
8 changes: 4 additions & 4 deletions Block/Promotion/CartPage/Aslowas.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ public function __construct(
\Astound\Affirm\Model\Config $configAffirm,
\Astound\Affirm\Helper\Payment $helperAffirm,
Session $session,
array $data = [],
Helper\AsLowAs $asLowAs,
Helper\AsLowAs $asLowAsHelper,
\Astound\Affirm\Helper\Rule $rule,
CategoryCollectionFactory $categoryCollectionFactory
CategoryCollectionFactory $categoryCollectionFactory,
array $data = []
) {
$this->checkoutSession = $session;
parent::__construct($context, $configProvider, $configAffirm, $helperAffirm, $data, $asLowAs, $rule, $categoryCollectionFactory);
parent::__construct($context, $configProvider, $configAffirm, $helperAffirm, $asLowAsHelper, $rule, $categoryCollectionFactory, $data);
}

/**
Expand Down

0 comments on commit db8a0b2

Please sign in to comment.