Skip to content

Commit b245b62

Browse files
author
Cari Spruiell
committed
MAGETWO-37464: Merge and Fix Builds
- add call to parent constructor
1 parent 40a3f6a commit b245b62

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

app/code/Magento/User/Controller/Adminhtml/User/InvalidateToken.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,18 @@ class InvalidateToken extends \Magento\User\Controller\Adminhtml\User
2222
/**
2323
* Inject dependencies.
2424
*
25+
* @param \Magento\Backend\App\Action\Context $context
26+
* @param \Magento\Framework\Registry $coreRegistry
27+
* @param \Magento\User\Model\UserFactory $userFactory
2528
* @param AdminTokenServiceInterface $tokenService
2629
*/
27-
public function __construct(AdminTokenServiceInterface $tokenService)
28-
{
30+
public function __construct(
31+
AdminTokenServiceInterface $tokenService,
32+
\Magento\Backend\App\Action\Context $context,
33+
\Magento\Framework\Registry $coreRegistry,
34+
\Magento\User\Model\UserFactory $userFactory
35+
) {
36+
parent::__construct($context, $coreRegistry, $userFactory);
2937
$this->tokenService = $tokenService;
3038
}
3139

0 commit comments

Comments
 (0)