Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a573c3

Browse filesBrowse 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
Copy full SHA for 1a573c3

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/DataCollector/DataCollectorInterface.php
+3-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.