Skip to content

Commit d42db33

Browse files
authored
ENGCOM-3667: Small fix in classes #19702
2 parents 276072c + 2c1b29a commit d42db33

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

app/code/Magento/Customer/Controller/Ajax/Login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
class Login extends \Magento\Framework\App\Action\Action implements HttpPostActionInterface
2828
{
2929
/**
30-
* @var \Magento\Framework\Session\Generic
30+
* @var \Magento\Customer\Model\Session
3131
*/
32-
protected $session;
32+
protected $customerSession;
3333

3434
/**
3535
* @var AccountManagementInterface

app/code/Magento/Customer/Controller/Ajax/Logout.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,20 @@
77

88
namespace Magento\Customer\Controller\Ajax;
99

10+
use Magento\Framework\App\Action\HttpGetActionInterface;
11+
1012
/**
1113
* Logout controller
1214
*
1315
* @method \Magento\Framework\App\RequestInterface getRequest()
1416
* @method \Magento\Framework\App\Response\Http getResponse()
1517
*/
16-
class Logout extends \Magento\Framework\App\Action\Action
18+
class Logout extends \Magento\Framework\App\Action\Action implements HttpGetActionInterface
1719
{
1820
/**
19-
* @var \Magento\Framework\Session\Generic
21+
* @var \Magento\Customer\Model\Session
2022
*/
21-
protected $session;
23+
protected $customerSession;
2224

2325
/**
2426
* @var \Magento\Framework\Controller\Result\JsonFactory

0 commit comments

Comments
 (0)