Skip to content

Commit

Permalink
added a missing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jul 18, 2012
1 parent 9c29cff commit 55962b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EventListener/ProfilerListener.php
Expand Up @@ -117,7 +117,8 @@ public function onKernelResponse(FilterResponseEvent $event)
array_pop($this->requests);

$parent = end($this->requests);


// when simulating requests, we might not have the parent
if ($parent) {
$profiles = isset($this->children[$parent]) ? $this->children[$parent] : array();
$profiles[] = $profile;
Expand Down

0 comments on commit 55962b5

Please sign in to comment.