Skip to content

Commit 26aa6bd

Browse files
committed
Missing PHPDoc to modified files
1 parent 007a891 commit 26aa6bd

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

app/code/Magento/Customer/Controller/AbstractAccount.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
use Magento\Framework\App\Action\Action;
1010

1111
/**
12+
* AbstractAccount class is deprecated, in favour of Composition approach to build Controllers
13+
*
1214
* @SuppressWarnings(PHPMD.NumberOfChildren)
1315
* @deprecated 2.4.0
1416
* @see \Magento\Customer\Controller\AccountInterface

app/code/Magento/Customer/Controller/Plugin/Account.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,26 @@
1414
use Magento\Framework\App\ResponseInterface;
1515
use Magento\Framework\Controller\ResultInterface;
1616

17+
/**
18+
* Plugin verifies permissions using Action Name against injected (`fontend/di.xml`) rules
19+
*/
1720
class Account
1821
{
1922
/**
2023
* @var Session
2124
*/
2225
protected $session;
2326

24-
/**
25-
* @var array
26-
*/
27-
private $allowedActions = [];
2827
/**
2928
* @var RequestInterface
3029
*/
3130
private $request;
3231

32+
/**
33+
* @var array
34+
*/
35+
private $allowedActions = [];
36+
3337
/**
3438
* @param RequestInterface $request
3539
* @param Session $customerSession

0 commit comments

Comments
 (0)