diff options
author | provokateurin <kate@provokateurin.de> | 2025-05-14 15:51:42 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2025-05-15 00:16:54 +0200 |
commit | 82fb8f850828d24f551ad5ef3b8523486e5104df (patch) | |
tree | 4b7bf5bcd5e8f37b1a70a9dec1f80729b97ef6e6 /core/Controller/ErrorController.php | |
parent | c3ddd1da46c9f75071f61d3cf7381570297a74d6 (diff) | |
download | nextcloud-server-refactor/rector-core.tar.gz nextcloud-server-refactor/rector-core.zip |
refactor: Extend rector to core/refactor/rector-core
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/Controller/ErrorController.php')
-rw-r--r-- | core/Controller/ErrorController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Controller/ErrorController.php b/core/Controller/ErrorController.php index 55925ffc941..d80dc3f76eb 100644 --- a/core/Controller/ErrorController.php +++ b/core/Controller/ErrorController.php @@ -9,6 +9,7 @@ declare(strict_types=1); namespace OC\Core\Controller; +use OCP\AppFramework\Controller; use OCP\AppFramework\Http; use OCP\AppFramework\Http\Attribute\FrontpageRoute; use OCP\AppFramework\Http\Attribute\NoCSRFRequired; @@ -17,7 +18,7 @@ use OCP\AppFramework\Http\Attribute\PublicPage; use OCP\AppFramework\Http\TemplateResponse; #[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)] -class ErrorController extends \OCP\AppFramework\Controller { +class ErrorController extends Controller { #[PublicPage] #[NoCSRFRequired] #[FrontpageRoute(verb: 'GET', url: 'error/403')] |