@@ -51,7 +51,7 @@ class Authorize extends \Lof\Mautic\Controller\Adminhtml\Configurable
51
51
protected $ resultPageFactory ;
52
52
53
53
/**
54
- * @param \Magento\Framework \App\Action\Context $context
54
+ * @param \Magento\Backend \App\Action\Context $context
55
55
* @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory
56
56
* @param \Lof\Mautic\Helper\Data $helper
57
57
* @param \Lof\Mautic\Model\Mautic $webhookSetup
@@ -60,15 +60,14 @@ class Authorize extends \Lof\Mautic\Controller\Adminhtml\Configurable
60
60
* @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
61
61
*/
62
62
public function __construct (
63
- \Magento \Framework \App \Action \Context $ context ,
63
+ \Magento \Backend \App \Action \Context $ context ,
64
64
\Magento \Framework \Controller \Result \JsonFactory $ resultJsonFactory ,
65
65
\Lof \Mautic \Helper \Data $ helper ,
66
66
\Lof \Mautic \Model \Mautic $ webhookSetup ,
67
67
\Magento \Framework \DB \Transaction $ dbTransaction ,
68
68
\Magento \Framework \Registry $ coreRegistry ,
69
69
\Magento \Framework \View \Result \PageFactory $ resultPageFactory
70
- )
71
- {
70
+ ) {
72
71
73
72
parent ::__construct ($ context , $ coreRegistry );
74
73
@@ -79,6 +78,9 @@ public function __construct(
79
78
$ this ->resultPageFactory = $ resultPageFactory ;
80
79
}
81
80
81
+ /**
82
+ * @inheritdoc
83
+ */
82
84
public function execute ()
83
85
{
84
86
$ version = $ this ->getRequest ()->getParam ('version ' );
0 commit comments