From 3770ed7b742017c9ca261d3c6cfb29e6f1d75fc3 Mon Sep 17 00:00:00 2001 From: project update bot <66574-Project-Update-Bot@users.noreply.drupalcode.org> Date: Mon, 28 Oct 2024 11:18:18 +0000 Subject: [PATCH] Issue #3483806: Automated Drupal 11 compatibility fixes for turnstile_protect --- src/EventSubscriber/Challenge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventSubscriber/Challenge.php b/src/EventSubscriber/Challenge.php index d77b8ab..0a6bb9d 100644 --- a/src/EventSubscriber/Challenge.php +++ b/src/EventSubscriber/Challenge.php @@ -69,7 +69,7 @@ public function __construct(LoggerChannelFactoryInterface $logger_factory, Flood /** * {@inheritdoc} */ - public static function getSubscribedEvents() { + public static function getSubscribedEvents(): array { $events[KernelEvents::REQUEST] = ['protect']; return $events;