Skip to content
Snippets Groups Projects
Commit a0a59c5c authored by Andrew Morton's avatar Andrew Morton
Browse files

3366907: getSubscribedEvents function compatibility

parent 64cfad07
No related branches found
No related tags found
1 merge request!71Issue #3366907: RecurringEventsAdminRouteSubscriber::getSubscribedEvents() must be compatible
......@@ -69,7 +69,7 @@ class RecurringEventsAdminRouteSubscriber extends RouteSubscriberBase {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents() : array {
$events = parent::getSubscribedEvents();
$events[ConfigEvents::SAVE][] = ['onConfigSave', 0];
return $events;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment