We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9269ee1 commit e0a6010Copy full SHA for e0a6010
src/Symfony/Component/HttpKernel/EventListener/ProfilerListener.php
@@ -107,8 +107,7 @@ public function onKernelTerminate(PostResponseEvent $event)
107
{
108
// attach children to parents
109
foreach ($this->profiles as $request) {
110
- // isset call should be removed when requestStack is required
111
- if (isset($this->parents[$request]) && null !== $parentRequest = $this->parents[$request]) {
+ if (null !== $parentRequest = $this->parents[$request]) {
112
if (isset($this->profiles[$parentRequest])) {
113
$this->profiles[$parentRequest]->addChild($this->profiles[$request]);
114
}
0 commit comments