8000 minor #33690 [Security/Http] fix typo in deprecation message (nicolas… · symfony/symfony@1ccc970 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ccc970

Browse files
minor #33690 [Security/Http] fix typo in deprecation message (nicolas-grekas)
This PR was merged into the 4.3 branch. Discussion ---------- [Security/Http] fix typo in deprecation message | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - spotted by @stof in #33676 Commits ------- e70057a [Security/Http] fix typo in deprecation message
2 parents 7031e83 + e70057a commit 1ccc970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Http/Firewall.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ protected function handleRequest(GetResponseEvent $event, $listeners)
138138
if (\is_callable($listener)) {
139139
$listener($event);
140140
} else {
141-
@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);
141+
@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);
142142
$listener->handle($event);
143143
}
144144

0 commit comments

Comments
 (0)
0