@@ -21,22 +21,22 @@ |
||
| 21 | 21 | |
| 22 | 22 | #[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)] |
| 23 | 23 | class UnsupportedBrowserController extends Controller { |
| 24 | - public function __construct(IRequest $request) { |
|
| 25 | - parent::__construct('core', $request); |
|
| 26 | - } |
|
| 24 | + public function __construct(IRequest $request) { |
|
| 25 | + parent::__construct('core', $request); |
|
| 26 | + } |
|
| 27 | 27 | |
| 28 | - /** |
|
| 29 | - * @return Response |
|
| 30 | - */ |
|
| 31 | - #[PublicPage] |
|
| 32 | - #[NoCSRFRequired] |
|
| 33 | - #[FrontpageRoute(verb: 'GET', url: 'unsupported')] |
|
| 34 | - public function index(): Response { |
|
| 35 | - Util::addTranslations('core'); |
|
| 36 | - Util::addScript('core', 'unsupported-browser'); |
|
| 37 | - Util::addStyle('core', 'icons'); |
|
| 28 | + /** |
|
| 29 | + * @return Response |
|
| 30 | + */ |
|
| 31 | + #[PublicPage] |
|
| 32 | + #[NoCSRFRequired] |
|
| 33 | + #[FrontpageRoute(verb: 'GET', url: 'unsupported')] |
|
| 34 | + public function index(): Response { |
|
| 35 | + Util::addTranslations('core'); |
|
| 36 | + Util::addScript('core', 'unsupported-browser'); |
|
| 37 | + Util::addStyle('core', 'icons'); |
|
| 38 | 38 | |
| 39 | - // not using RENDER_AS_ERROR as we need the JSConfigHelper for url generation |
|
| 40 | - return new TemplateResponse('core', 'unsupportedbrowser', [], TemplateResponse::RENDER_AS_GUEST); |
|
| 41 | - } |
|
| 39 | + // not using RENDER_AS_ERROR as we need the JSConfigHelper for url generation |
|
| 40 | + return new TemplateResponse('core', 'unsupportedbrowser', [], TemplateResponse::RENDER_AS_GUEST); |
|
| 41 | + } |
|
| 42 | 42 | } |