Skip to content

Commit 2af0b80

Browse files
fancywebnicolas-grekas
authored andcommitted
Remove \Throwable support deprecation layer
1 parent c2fee4d commit 2af0b80

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

DataCollector/MessageDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(MessageLoggerListener $logger)
3232
/**
3333
* {@inheritdoc}
3434
*/
35-
public function collect(Request $request, Response $response, \Exception $exception = null)
35+
public function collect(Request $request, Response $response, \Throwable $exception = null)
3636
{
3737
$this->data['events'] = $this->events;
3838
}

MessageDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(MessageLoggerListener $logger)
3232
/**
3333
* {@inheritdoc}
3434
*/
35-
public function collect(Request $request, Response $response, \Exception $exception = null)
35+
public function collect(Request $request, Response $response, \Throwable $exception = null)
3636
{
3737
$this->data['events'] = $this->events;
3838
}

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
"symfony/postmark-mailer": "^4.4|^5.0",
3434
"symfony/sendgrid-mailer": "^4.4|^5.0"
3535
},
36+
"conflict": {
37+
"symfony/http-kernel": "<4.4"
38+
},
3639
"autoload": {
3740
"psr-4": { "Symfony\\Component\\Mailer\\": "" },
3841
"exclude-from-classmap": [

0 commit comments

Comments
 (0)