diff options
Diffstat (limited to 'core/Controller/CSRFTokenController.php')
-rw-r--r-- | core/Controller/CSRFTokenController.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/core/Controller/CSRFTokenController.php b/core/Controller/CSRFTokenController.php index 510d5e64d9f..16288a8b318 100644 --- a/core/Controller/CSRFTokenController.php +++ b/core/Controller/CSRFTokenController.php @@ -33,15 +33,8 @@ use OCP\AppFramework\Http\JSONResponse; use OCP\IRequest; class CSRFTokenController extends Controller { + private CsrfTokenManager $tokenManager; - /** @var CsrfTokenManager */ - private $tokenManager; - - /** - * @param string $appName - * @param IRequest $request - * @param CsrfTokenManager $tokenManager - */ public function __construct(string $appName, IRequest $request, CsrfTokenManager $tokenManager) { parent::__construct($appName, $request); @@ -52,7 +45,6 @@ class CSRFTokenController extends Controller { * @NoAdminRequired * @NoCSRFRequired * @PublicPage - * @return JSONResponse */ public function index(): JSONResponse { if (!$this->request->passesStrictCookieCheck()) { |