Skip to content

Commit e0a6010

Browse files
committed
[HttpKernel] Remove isset call used for legacy
1 parent 9269ee1 commit e0a6010

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/HttpKernel/EventListener/ProfilerListener.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ public function onKernelTerminate(PostResponseEvent $event)
107107
{
108108
// attach children to parents
109109
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]) {
110+
if (null !== $parentRequest = $this->parents[$request]) {
112111
if (isset($this->profiles[$parentRequest])) {
113112
$this->profiles[$parentRequest]->addChild($this->profiles[$request]);
114113
}

0 commit comments

Comments
 (0)