1 | <?php |
||
7 | class DefaultAdminPanelAdaptor implements AdminPanelAdaptorInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var TokenStorageInterface |
||
11 | */ |
||
12 | protected $tokenStorage; |
||
13 | |||
14 | /** |
||
15 | * @param TokenStorageInterface $tokenStorage |
||
16 | */ |
||
17 | public function __construct(TokenStorageInterface $tokenStorage) |
||
21 | |||
22 | /** |
||
23 | * @return AdminPanelActionInterface[] |
||
|
|||
24 | */ |
||
25 | public function getAdminPanelActions() |
||
33 | |||
34 | protected function getLanguageChooserAction() |
||
43 | |||
44 | protected function getChangePasswordAction() |
||
57 | |||
58 | protected function getLogoutAction() |
||
69 | } |
||
70 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.