8000 minor #34230 [HttpKernel][DataCollectorInterface] Ease compatibility … · symfony/symfony@1a573c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a573c3

Browse files
minor #34230 [HttpKernel][DataCollectorInterface] Ease compatibility (fancyweb)
This PR was submitted for the 3.4 branch but it was merged into the 4.3 branch instead. Discussion ---------- [HttpKernel][DataCollectorInterface] Ease compatibility | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | https://github.com/symfony/symfony/pull/33065/files#r342109866 | License | MIT | Doc PR | - To ease data collectors being compatible from 4.3 to 5.0. Commits ------- 761df46 [HttpKernel][DataCollectorInterface] Ease compatibility
2 parents a56ac78 + 761df46 commit 1a573c3

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
@@ -24,8 +24,10 @@ interface DataCollectorInterface extends ResetInterface
2424
{
2525
/**
2626
* Collects data for the given Request and Response.
27+
*
28+
* @param \Throwable|null $exception
2729
*/
28-
public function collect(Request $request, Response $response, \Exception $exception = null);
30+
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/);
2931

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

0 commit comments

Comments
 (0)
0