Skip to content

Commit f73d7c8

Browse files
fancywebnicolas-grekas
authored andcommitted
Fix some \Throwable support remaining issues
1 parent 9fc5172 commit f73d7c8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

DataCollector/MessageDataCollector.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ public function __construct(MessageLoggerListener $logger)
3131

3232
/**
3333
* {@inheritdoc}
34+
*
35+
* @param \Throwable|null $exception
3436
*/
35-
public function collect(Request $request, Response $response, \Exception $exception = null)
37+
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
3638
{
3739
$this->data['events'] = $this->events;
3840
}

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"symfony/sendgrid-mailer": "^4.4|^5.0"
3535
},
3636
"conflict": {
37+
"symfony/http-kernel": "<4.4",
3738
"symfony/sendgrid-mailer": "<4.4"
3839
},
3940
"autoload": {

0 commit comments

Comments
 (0)