Skip to content
Snippets Groups Projects

Issue #3366623: Fix getSubscribedEvents error after d10 update

2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -65,7 +65,7 @@ class AddHttpHeaders implements EventSubscriberInterface {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
$events[KernelEvents::RESPONSE][] = ['onResponse'];
return $events;
}
Loading