diff --git a/DataCollector/TemplateBlockDataCollector.php b/DataCollector/TemplateBlockDataCollector.php index 5b4e25a2..925d7ac0 100644 --- a/DataCollector/TemplateBlockDataCollector.php +++ b/DataCollector/TemplateBlockDataCollector.php @@ -32,7 +32,7 @@ public function __construct(TemplateBlockRenderingHistory $templateBlockRenderin $this->reset(); } - public function collect(Request $request, Response $response): void + public function collect(Request $request, Response $response, \Throwable $exception = null): void { $this->data['renderedEvents'] = $this->templateBlockRenderingHistory->getRenderedEvents(); }