mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-15 11:50:23 +01:00
Fixed some deprecations related to missing return types
This commit is contained in:
@@ -38,7 +38,7 @@ class SwitchUserEventSubscriber implements EventSubscriberInterface
|
||||
{
|
||||
}
|
||||
|
||||
public static function getSubscribedEvents()
|
||||
public static function getSubscribedEvents(): array
|
||||
{
|
||||
return [
|
||||
'security.switch_user' => 'onSwitchUser',
|
||||
|
||||
Reference in New Issue
Block a user