From 761df46993a0d09ea1cdce9c21abf716fc83dade Mon Sep 17 00:00:00 2001 From: Thomas Calvet Date: Mon, 4 Nov 2019 17:22:42 +0100 Subject: [PATCH] [HttpKernel][DataCollectorInterface] Ease compatibility --- .../HttpKernel/DataCollector/DataCollectorInterface.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php b/src/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php index b9584110ecb7..a302ad300957 100644 --- a/src/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php +++ b/src/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php @@ -24,8 +24,10 @@ interface DataCollectorInterface extends ResetInterface { /** * Collects data for the given Request and Response. + * + * @param \Throwable|null $exception */ - public function collect(Request $request, Response $response, \Exception $exception = null); + public function collect(Request $request, Response $response/*, \Throwable $exception = null*/); /** * Returns the name of the collector.