Skip to content

Commit

Permalink
Compatability with with Magento 2.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ihorvansach committed Apr 15, 2023
1 parent 17ed001 commit be790e0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Block/Adminhtml/System/Config/Form/EventList.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Magento\Config\Block\System\Config\Form\Field;
use Magento\Framework\Data\Form\Element\AbstractElement;
use Magento\Framework\Module\Manager;
use Magento\Framework\View\Helper\SecureHtmlRenderer;

class EventList extends Field
{
Expand All @@ -29,16 +28,14 @@ class EventList extends Field
* @param Context $context
* @param Manager $moduleManager
* @param array $data
* @param SecureHtmlRenderer|null $secureRenderer
*/
public function __construct(
Context $context,
Manager $moduleManager,
array $data = [],
?SecureHtmlRenderer $secureRenderer = null
array $data = []
) {
$this->moduleManager = $moduleManager;
parent::__construct($context, $data, $secureRenderer);
parent::__construct($context, $data);
}

/**
Expand Down

0 comments on commit be790e0

Please sign in to comment.