Skip to content

Commit af83545

Browse files
fancywebnicolas-grekas
authored andcommitted
Remove \Throwable support deprecation layer
1 parent 83cee1e commit af83545

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

DataCollector/HttpClientDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function registerClient(string $name, TraceableHttpClient $client)
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->initData();
4040

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"symfony/service-contracts": "^1.0|^2",
3737
"symfony/var-dumper": "^4.4|^5.0"
3838
},
39+
"conflict": {
40+
"symfony/http-kernel": "<4.4"
41+
},
3942
"autoload": {
4043
"psr-4": { "Symfony\\Component\\HttpClient\\": "" },
4144
"exclude-from-classmap": [

0 commit comments

Comments
 (0)