[HttpKernel][DataCollectorInterface] Ease compatibility

This commit is contained in:
Thomas Calvet 2019-11-04 17:22:42 +01:00 committed by Nicolas Grekas
parent a56ac78269
commit 761df46993

View File

@ -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.