diff --git a/apps/webhooks/appinfo/info.xml b/apps/webhooks/appinfo/info.xml
index 6b9a809dba0..4bc0a999310 100644
--- a/apps/webhooks/appinfo/info.xml
+++ b/apps/webhooks/appinfo/info.xml
@@ -24,7 +24,7 @@
- OCA\Webhooks\Command\Index
+ OCA\Webhooks\Command\ListWebhooks
diff --git a/apps/webhooks/composer/composer/autoload_classmap.php b/apps/webhooks/composer/composer/autoload_classmap.php
index 3ac7eb7e702..bc6625e3c93 100644
--- a/apps/webhooks/composer/composer/autoload_classmap.php
+++ b/apps/webhooks/composer/composer/autoload_classmap.php
@@ -9,7 +9,7 @@ return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'OCA\\Webhooks\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
'OCA\\Webhooks\\BackgroundJobs\\WebhookCall' => $baseDir . '/../lib/BackgroundJobs/WebhookCall.php',
- 'OCA\\Webhooks\\Command\\Index' => $baseDir . '/../lib/Command/Index.php',
+ 'OCA\\Webhooks\\Command\\ListWebhooks' => $baseDir . '/../lib/Command/ListWebhooks.php',
'OCA\\Webhooks\\Controller\\WebhooksController' => $baseDir . '/../lib/Controller/WebhooksController.php',
'OCA\\Webhooks\\Db\\AuthMethod' => $baseDir . '/../lib/Db/AuthMethod.php',
'OCA\\Webhooks\\Db\\WebhookListener' => $baseDir . '/../lib/Db/WebhookListener.php',
diff --git a/apps/webhooks/composer/composer/autoload_static.php b/apps/webhooks/composer/composer/autoload_static.php
index 788787644d7..d06810391ec 100644
--- a/apps/webhooks/composer/composer/autoload_static.php
+++ b/apps/webhooks/composer/composer/autoload_static.php
@@ -24,7 +24,7 @@ class ComposerStaticInitWebhooks
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'OCA\\Webhooks\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
'OCA\\Webhooks\\BackgroundJobs\\WebhookCall' => __DIR__ . '/..' . '/../lib/BackgroundJobs/WebhookCall.php',
- 'OCA\\Webhooks\\Command\\Index' => __DIR__ . '/..' . '/../lib/Command/Index.php',
+ 'OCA\\Webhooks\\Command\\ListWebhooks' => __DIR__ . '/..' . '/../lib/Command/ListWebhooks.php',
'OCA\\Webhooks\\Controller\\WebhooksController' => __DIR__ . '/..' . '/../lib/Controller/WebhooksController.php',
'OCA\\Webhooks\\Db\\AuthMethod' => __DIR__ . '/..' . '/../lib/Db/AuthMethod.php',
'OCA\\Webhooks\\Db\\WebhookListener' => __DIR__ . '/..' . '/../lib/Db/WebhookListener.php',
diff --git a/apps/webhooks/lib/Command/Index.php b/apps/webhooks/lib/Command/ListWebhooks.php
similarity index 97%
rename from apps/webhooks/lib/Command/Index.php
rename to apps/webhooks/lib/Command/ListWebhooks.php
index 4457e95c196..c8cca6f8609 100644
--- a/apps/webhooks/lib/Command/Index.php
+++ b/apps/webhooks/lib/Command/ListWebhooks.php
@@ -15,7 +15,7 @@ use OCA\Webhooks\Db\WebhookListenerMapper;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
-class Index extends Base {
+class ListWebhooks extends Base {
public function __construct(
private WebhookListenerMapper $mapper,
) {