From 592acb8e0dd845625f17e0b72b3fe743c2d5d65d Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 3 Mar 2026 13:54:38 +0100 Subject: [PATCH] fix(webhook_listeners): Fix typo in comment Signed-off-by: Carl Schwan --- apps/webhook_listeners/lib/Db/WebhookListenerMapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/webhook_listeners/lib/Db/WebhookListenerMapper.php b/apps/webhook_listeners/lib/Db/WebhookListenerMapper.php index bef8223b31599..5bb6d99f04ed7 100644 --- a/apps/webhook_listeners/lib/Db/WebhookListenerMapper.php +++ b/apps/webhook_listeners/lib/Db/WebhookListenerMapper.php @@ -84,7 +84,7 @@ public function addWebhookListener( ?array $authData, ?array $tokenNeeded = [], ): WebhookListener { - /* Remove any superfluous antislash */ + /* Remove any superfluous backslash */ $event = ltrim($event, '\\'); if (!class_exists($event) || !is_a($event, IWebhookCompatibleEvent::class, true)) { throw new \UnexpectedValueException("$event is not an event class compatible with webhooks"); @@ -126,7 +126,7 @@ public function updateWebhookListener( ?array $authData, ?array $tokenNeeded = [], ): WebhookListener { - /* Remove any superfluous antislash */ + /* Remove any superfluous backslash */ $event = ltrim($event, '\\'); if (!class_exists($event) || !is_a($event, IWebhookCompatibleEvent::class, true)) { throw new \UnexpectedValueException("$event is not an event class compatible with webhooks");