[Security/Http] fix typo in deprecation message
This commit is contained in:
parent
926f286000
commit
e70057aed4
@ -138,7 +138,7 @@ class Firewall implements EventSubscriberInterface
|
|||||||
if (\is_callable($listener)) {
|
if (\is_callable($listener)) {
|
||||||
$listener($event);
|
$listener($event);
|
||||||
} else {
|
} else {
|
||||||
@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('Calling the "%s::handle()" method from the firewall is deprecated since Symfony 4.3, implement "__invoke()" instead.', \get_class($listener)), E_USER_DEPRECATED);
|
||||||
$listener->handle($event);
|
$listener->handle($event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user