summaryrefslogtreecommitdiffstats
path: root/apps/comments/lib/Controller
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-18 10:38:37 +0100
committerprovokateurin <kate@provokateurin.de>2024-01-18 16:14:17 +0100
commitb64ab5fba86f55e59ebb8983a143d640d0c6a7a1 (patch)
treecfcf4a64885acf9f2f19a163014094d706c2ba10 /apps/comments/lib/Controller
parent14c57ee708101d31838d468e8e5923e9dd8c7919 (diff)
downloadnextcloud-server-b64ab5fba86f55e59ebb8983a143d640d0c6a7a1.tar.gz
nextcloud-server-b64ab5fba86f55e59ebb8983a143d640d0c6a7a1.zip
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/comments/lib/Controller')
-rw-r--r--apps/comments/lib/Controller/NotificationsController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/lib/Controller/NotificationsController.php b/apps/comments/lib/Controller/NotificationsController.php
index cc37dc628be..1e1f0e563e2 100644
--- a/apps/comments/lib/Controller/NotificationsController.php
+++ b/apps/comments/lib/Controller/NotificationsController.php
@@ -26,7 +26,7 @@ namespace OCA\Comments\Controller;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
-use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI;
+use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\NotFoundResponse;
use OCP\AppFramework\Http\RedirectResponse;
use OCP\Comments\IComment;
@@ -41,7 +41,7 @@ use OCP\Notification\IManager;
/**
* @package OCA\Comments\Controller
*/
-#[IgnoreOpenAPI]
+#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)]
class NotificationsController extends Controller {
public function __construct(
string $appName,