Skip to content

Commit d3b9049

Browse files
fancywebnicolas-grekas
authored andcommitted
Remove \Throwable support deprecation layer
1 parent 30fb279 commit d3b9049

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

DataCollector/NotificationDataCollector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @experimental in 5.0
2424
*/
25-
class NotificationDataCollector extends DataCollector
25+
final class NotificationDataCollector extends DataCollector
2626
{
2727
private $logger;
2828

@@ -34,7 +34,7 @@ public function __construct(NotificationLoggerListener $logger)
3434
/**
3535
* {@inheritdoc}
3636
*/
37-
public function collect(Request $request, Response $response, \Exception $exception = null)
37+
public function collect(Request $request, Response $response, \Throwable $exception = null)
3838
{
3939
$this->data['events'] = $this->logger->getEvents();
4040
}

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"require": {
1919
"php": "^7.2.9"
2020
},
21+
"conflict": {
22+
"symfony/http-kernel": "<4.4"
23+
},
2124
"autoload": {
2225
"psr-4": { "Symfony\\Component\\Notifier\\": "" },
2326
"exclude-from-classmap": [

0 commit comments

Comments
 (0)