Skip to content
Snippets Groups Projects

Resolve #3446311 "Drupal 11 compatibility"

Merged Doug Addison requested to merge issue/feed_block-3446311:3446311-drupal-11-compatibility into 3.x
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -137,7 +137,7 @@ class FeedBlockCacheExpire implements EventSubscriberInterface {
* @return array
* An array of event listener definitions.
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
$events[KernelEvents::RESPONSE][] = ['onRespond'];
return $events;
}
Loading