summaryrefslogtreecommitdiffstats
path: root/core/Controller/ErrorController.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-18 10:38:37 +0100
committerKate <26026535+provokateurin@users.noreply.github.com>2024-01-19 09:12:34 +0100
commit98d64ea05d67f6f6deb8d481512e777e776ad7c9 (patch)
tree30042f2c4cb6b4e3385d003c2dc2e51206852c02 /core/Controller/ErrorController.php
parent442092300923970453e6d4873d9a9d612e94a608 (diff)
downloadnextcloud-server-98d64ea05d67f6f6deb8d481512e777e776ad7c9.tar.gz
nextcloud-server-98d64ea05d67f6f6deb8d481512e777e776ad7c9.zip
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/Controller/ErrorController.php')
-rw-r--r--core/Controller/ErrorController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/ErrorController.php b/core/Controller/ErrorController.php
index 9882b481951..0bc9e605e13 100644
--- a/core/Controller/ErrorController.php
+++ b/core/Controller/ErrorController.php
@@ -28,10 +28,10 @@ declare(strict_types=1);
namespace OC\Core\Controller;
use OCP\AppFramework\Http;
-use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI;
+use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\TemplateResponse;
-#[IgnoreOpenAPI]
+#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)]
class ErrorController extends \OCP\AppFramework\Controller {
/**
* @PublicPage