Skip to content

Commit a2dbb3c

Browse files
nicolas-grekasdunglas
authored andcommitted
Fix compat with Symfony 5 (#3242)
* Fix compat with Symfony 5 * Revert unneeded changes
1 parent ed8c19f commit a2dbb3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"psr/cache": "^1.0",
2020
"psr/container": "^1.0",
2121
"symfony/http-foundation": "^4.3.6 || ^5.0",
22-
"symfony/http-kernel": "^4.3 || ^5.0",
22+
"symfony/http-kernel": "^4.3.7 || ^5.0",
2323
"symfony/property-access": "^3.4 || ^4.0 || ^5.0",
2424
"symfony/property-info": "^3.4 || ^4.0 || ^5.0",
2525
"symfony/serializer": "^4.3 || ^5.0",

src/Bridge/Symfony/Bundle/DataCollector/RequestDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(ResourceMetadataFactoryInterface $metadataFactory, C
5454
/**
5555
* {@inheritdoc}
5656
*/
57-
public function collect(Request $request, Response $response, \Exception $exception = null)
57+
public function collect(Request $request, Response $response, \Throwable $exception = null)
5858
{
5959
$counters = ['ignored_filters' => 0];
6060
$resourceClass = $request->attributes->get('_api_resource_class');

0 commit comments

Comments
 (0)