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