Fix getComputedData
This commit is contained in:
parent
9e8cb01fde
commit
e8ca06aaa0
@ -93,7 +93,7 @@ class TwigDataCollector extends DataCollector implements LateDataCollectorInterf
|
||||
$this->computed = $this->computeData($this->getProfile());
|
||||
}
|
||||
|
||||
return $this->computed['index'];
|
||||
return $this->computed[$index];
|
||||
}
|
||||
|
||||
private function computeData(\Twig_Profiler_Profile $profile)
|
||||
|
Reference in New Issue
Block a user