added a missing comment
This commit is contained in:
parent
ebea32c40d
commit
a7503fb399
@ -118,6 +118,7 @@ class ProfilerListener implements EventSubscriberInterface
|
|||||||
|
|
||||||
$parent = end($this->requests);
|
$parent = end($this->requests);
|
||||||
|
|
||||||
|
// when simulating requests, we might not have the parent
|
||||||
if ($parent) {
|
if ($parent) {
|
||||||
$profiles = isset($this->children[$parent]) ? $this->children[$parent] : array();
|
$profiles = isset($this->children[$parent]) ? $this->children[$parent] : array();
|
||||||
$profiles[] = $profile;
|
$profiles[] = $profile;
|
||||||
|
Reference in New Issue
Block a user