Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | #[AsController] |
||
14 | class LoggedInController |
||
15 | { |
||
16 | /** @var \SimpleSAML\Configuration */ |
||
17 | protected Configuration $config; |
||
18 | |||
19 | /** |
||
20 | * Controller constructor. |
||
21 | * |
||
22 | * It initializes the global configuration for the controllers implemented here and injects the session service. |
||
23 | * |
||
24 | * @param Configuration|null $config |
||
25 | * |
||
26 | * @throws \Exception |
||
27 | */ |
||
28 | public function __construct(Configuration $config = null) |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Show Log out view. |
||
35 | * |
||
36 | * @param Request $request |
||
37 | * @return Response |
||
38 | * @throws \Exception |
||
39 | */ |
||
40 | public function main(Request $request): Response |
||
46 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.