Skip to content

Commit

Permalink
Fix missing pixel var (#105)
Browse files Browse the repository at this point in the history
* add var

* more missing vars

* lint
  • Loading branch information
kkong87 authored May 24, 2023
1 parent 8e20fe2 commit 83476c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 1 addition & 5 deletions Controller/Adminhtml/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ abstract class Rule extends \Magento\Backend\App\Action
{
protected $_coreRegistry;

protected $resultForwardFactory;

protected $resultPageFactory;

public function __construct(
\Magento\Backend\App\Action\Context $context,
\Magento\Framework\Registry $coreRegistry,
\Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory,
\Magento\Framework\View\Result\PageFactory $resultPageFactory
) {
$this->_coreRegistry = $coreRegistry;
parent::__construct($context);
$this->resultForwardFactory = $resultForwardFactory;
$this->resultPageFactory = $resultPageFactory;
}

Expand Down Expand Up @@ -59,4 +55,4 @@ public function newConditions($prefix)
}
$this->getResponse()->setBody($html);
}
}
}
8 changes: 8 additions & 0 deletions Model/Plugin/Payment/CanCapturePartial.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
*/
class CanCapturePartial
{
/**
* Affirm config model payment
*
* @var \Astound\Affirm\Model\Config
*/
protected $affirmPaymentConfig;


/**
* Define constants
*/
Expand Down

0 comments on commit 83476c4

Please sign in to comment.