8000 minor #13690 DataCollector `collect` needs a `Throwable` (BafS) · symfony/symfony-docs@04c6bea · GitHub
[go: up one dir, main page]

Skip to content

Commit 04c6bea

Browse files
committed
minor #13690 DataCollector collect needs a Throwable (BafS)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead. Discussion ---------- DataCollector `collect` needs a `Throwable` <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your 8000 pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- e890ac8 DataCollector `collect` needs a `Throwable`
2 parents 0313092 + e890ac8 commit 04c6bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profiler/data_collector.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ request::
3030

3131
class RequestCollector extends DataCollector
3232
{
33-
public function collect(Request $request, Response $response, \Exception $exception = null)
33+
public function collect(Request $request, Response $response, \Throwable $exception = null)
3434
{
3535
$this->data = [
3636
'method' => $request->getMethod(),

0 commit comments

Comments
 (0)
0