Skip to content
Snippets Groups Projects

Draft: Issue #3433389: Drupal 11 compatibility

9 files
+ 54
22
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -70,7 +70,7 @@ class NodeSubscriber implements EventSubscriberInterface {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
$events[KernelEvents::REQUEST] = array('onRequest');
return $events;
}
Loading