From e890ac80792a60527b2ae0d187b235519b5e8748 Mon Sep 17 00:00:00 2001 From: Fabien Salathe Date: Wed, 20 May 2020 18:18:33 +0200 Subject: [PATCH] DataCollector `collect` needs a `Throwable` --- profiler/data_collector.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/data_collector.rst b/profiler/data_collector.rst index 85e046785d3..c1812e1209f 100644 --- a/profiler/data_collector.rst +++ b/profiler/data_collector.rst @@ -30,7 +30,7 @@ request:: class RequestCollector extends DataCollector { - public function collect(Request $request, Response $response, \Exception $exception = null) + public function collect(Request $request, Response $response, \Throwable $exception = null) { $this->data = [ 'method' => $request->getMethod(),