[Security/Http] fix typo in deprecation message

This commit is contained in:
Nicolas Grekas 2019-09-24 17:43:44 +02:00
parent 926f286000
commit e70057aed4

View File

@ -138,7 +138,7 @@ class Firewall implements EventSubscriberInterface
if (\is_callable($listener)) {
$listener($event);
} 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);
}