Skip to content

Commit

Permalink
Merge pull request #18 from qporion/fix/data-collector
Browse files Browse the repository at this point in the history
🐛 Fix data collector for Sf http kernel >= 5.0
  • Loading branch information
CheapHasz authored Nov 19, 2020
2 parents b77ee39 + 437300f commit ad6d45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataCollector/ElasticsearchDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ElasticsearchDataCollector extends DataCollector implements EventSubscrib
const QUERIES_KEY = 'queries';
const RESULTS_KEY = 'results';

public function collect(Request $request, Response $response, \Exception $exception = null)
public function collect(Request $request, Response $response, \Throwable $exception = null)
{
// everything is collected via Events
}
Expand Down

0 comments on commit ad6d45c

Please sign in to comment.