Skip to content

Commit

Permalink
Fixed compatibility with newer version of data collectors
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Sep 7, 2020
1 parent 35f851e commit 2f34c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataCollector/TemplateBlockDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 2f34c91

Please sign in to comment.