Skip to content
Snippets Groups Projects

Resolve #3435710 "Automated drupal 11"

Merged Eelke Blok requested to merge issue/whoops-3435710:3435710-automated-drupal-11 into 2.0.x
Files
8
@@ -149,7 +149,7 @@ abstract class ExceptionSubscriberBase implements EventSubscriberInterface {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
$events[KernelEvents::EXCEPTION][] = ['onException', static::getPriority()];
return $events;
}
Loading