Skip to content

Commit

Permalink
Issue #3483806: Automated Drupal 11 compatibility fixes for turnstile…
Browse files Browse the repository at this point in the history
…_protect
  • Loading branch information
project update bot authored and Joe Corall committed Oct 28, 2024
1 parent 46bb470 commit 3770ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventSubscriber/Challenge.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3770ed7

Please sign in to comment.