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
…in (fancyweb)
This PR was merged into the 3.4 branch.
Discussion
----------
[HttpKernel] Clarify error handler restoring process again
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |#33024
| License | MIT
| Doc PR | -
Commits
-------
4ee54f0 [HttpKernel] Clarify error handler restoring process again
Symfony version(s) affected: 4.3.x
Description
this piece of code looks wrong, can someone please take a look
https://github.com/symfony/symfony/blob/4.3/src/Symfony/Component/HttpKernel/Kernel.php#L508-L512
defined
returnstrue
orfalse
if
true
?: ... => $previousHandler = true;if
false
this might happenas $previousHandler=false this returns
false
;luckily, otherwise we might try to execute
true
as a function :)Possible Solution
this is probably wrong assignment
The text was updated successfully, but these errors were encountered: