Skip to content

Commit 9d3a74a

Browse files
fancywebnicolas-grekas
authored andcommitted
Fix some \Throwable support remaining issues
1 parent 1b77a8e commit 9d3a74a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Extension/DataCollector/FormDataCollector.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,12 @@ public function __construct(FormDataExtractorInterface $dataExtractor)
8080

8181
/**
8282
* Does nothing. The data is collected during the form event listeners.
83+
*
84+
* {@inheritdoc}
85+
*
86+
* @param \Throwable|null $exception
8387
*/
84-
public function collect(Request $request, Response $response, \Exception $exception = null)
88+
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
8589
{
8690
}
8791

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"symfony/config": "^3.4|^4.0|^5.0",
3333
"symfony/console": "^4.3|^5.0",
3434
"symfony/http-foundation": "^3.4|^4.0|^5.0",
35-
"symfony/http-kernel": "^4.3",
35+
"symfony/http-kernel": "^4.4",
3636
"symfony/security-csrf": "^3.4|^4.0|^5.0",
3737
"symfony/translation": "^4.2|^5.0",
3838
"symfony/var-dumper": "^4.3|^5.0"
@@ -43,7 +43,7 @@
4343
"symfony/dependency-injection": "<3.4",
4444
"symfony/doctrine-bridge": "<3.4",
4545
"symfony/framework-bundle": "<3.4",
46-
"symfony/http-kernel": "<4.3",
46+
"symfony/http-kernel": "<4.4",
4747
"symfony/intl": "<4.3",
4848
"symfony/translation": "<4.2",
4949
"symfony/twig-bridge": "<3.4.5|<4.0.5,>=4.0"

0 commit comments

Comments
 (0)