fix error pages (#1209)

This commit is contained in:
Kevin Papst
2019-10-31 00:16:25 +01:00
committed by GitHub
parent f4fcfeba9d
commit 4331a7c9f4
5 changed files with 10 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ class UserPreferenceSubscriber implements EventSubscriberInterface
public static function getSubscribedEvents(): array
{
return [
PrepareUserEvent::PREPARE => ['loadUserPreferences', 200]
PrepareUserEvent::class => ['loadUserPreferences', 200]
];
}