Skip to content

Commit 56be252

Browse files
fancywebnicolas-grekas
authored andcommitted
Fix some \Throwable support remaining issues
1 parent 3d7a182 commit 56be252

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

DataCollector/ValidatorDataCollector.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ public function __construct(TraceableValidator $validator)
3939

4040
/**
4141
* {@inheritdoc}
42+
*
43+
* @param \Throwable|null $exception
4244
*/
43-
public function collect(Request $request, Response $response, \Exception $exception = null)
45+
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
4446
{
4547
// Everything is collected once, on kernel terminate.
4648
}

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"require-dev": {
2525
"symfony/http-client": "^4.3|^5.0",
2626
"symfony/http-foundation": "^4.1|^5.0",
27-
"symfony/http-kernel": "^3.4|^4.0",
28-
"symfony/var-dumper": "^3.4|^4.0|^5.0",
27+
"symfony/http-kernel": "^4.4",
2928
"symfony/intl": "^4.3|^5.0",
3029
"symfony/yaml": "^3.4|^4.0|^5.0",
3130
"symfony/config": "^3.4|^4.0|^5.0",
@@ -43,7 +42,7 @@
4342
"doctrine/lexer": "<1.0.2",
4443
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
4544
"symfony/dependency-injection": "<3.4",
46-
"symfony/http-kernel": "<3.4",
45+
"symfony/http-kernel": "<4.4",
4746
"symfony/intl": "<4.3",
4847
"symfony/translation": ">=5.0",
4948
"symfony/yaml": "<3.4"

0 commit comments

Comments
 (0)