8000 [HttpKernel][DataCollectorInterface] Ease compatibility · symfony/symfony@55f85b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 55f85b2

Browse files
committed
[HttpKernel][DataCollectorInterface] Ease compatibility
1 parent ee0988c commit 55f85b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ interface DataCollectorInterface
2525
{
2626
/**
2727
* Collects data for the given Request and Response.
28+
*
29+
* @param \Throwable|null $exception
2830
*/
29-
public function collect(Request $request, Response $response, \Exception $exception = null);
31+
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/);
3032

3133
/**
3234
* Returns the name of the collector.

0 commit comments

Comments
 (0)
0