You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -45,18 +38,10 @@ public function __construct($listener)
45
38
}
46
39
}
47
40
48
-
/**
49
-
* {@inheritdoc}
50
-
*/
51
41
publicfunction__invoke(RequestEvent$event)
52
42
{
53
43
$startTime = microtime(true);
54
-
if (\is_callable($this->listener)) {
55
-
($this->listener)($event);
56
-
} else {
57
-
@trigger_error(sprintf('Calling the "%s::handle()" method from the firewall is deprecated since Symfony 4.3, implement "__invoke()" instead.', \get_class($this)), E_USER_DEPRECATED);
@trigger_error(sprintf('Not returning an array of 3 elements from %s::getListeners() is deprecated since Symfony 4.2, the 3rd element must be an instance of %s or null.', FirewallMapInterface::class, LogoutListener::class), E_USER_DEPRECATED);
62
-
$listeners[2] = null;
63
-
}
64
-
65
53
$authenticationListeners = $listeners[0];
66
54
$exceptionListener = $listeners[1];
67
55
$logoutListener = $listeners[2];
@@ -93,16 +81,9 @@ public function onKernelRequest(GetResponseEvent $event)
@trigger_error(sprintf('Calling the "%s::handle()" method from the firewall is deprecated since Symfony 4.3, implement "__invoke()" instead.', \get_class($this)), E_USER_DEPRECATED);
0 commit comments