Skip to content

Commit

Permalink
minor #2988 Fix compat with Symfony 5.0 (nicolas-grekas)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.x branch.

Discussion
----------

Fix compat with Symfony 5.0

Commits
-------

1c38769 Fix compat with Symfony 5.0
  • Loading branch information
javiereguiluz committed Nov 8, 2019
2 parents b50bab1 + 1c38769 commit 822eb2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"symfony/form": "^4.2|^5.0",
"symfony/framework-bundle": "^4.2|^5.0",
"symfony/http-foundation": "^4.2|^5.0",
"symfony/http-kernel": "^4.2|^5.0",
"symfony/http-kernel": "^4.3.7|^5.0",
"symfony/polyfill-mbstring": "^1.7",
"symfony/property-access": "^4.2|^5.0",
"symfony/security-bundle": "^4.2|^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/DataCollector/EasyAdminDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function reset()
/**
* {@inheritdoc}
*/
public function collect(Request $request, Response $response, \Exception $exception = null)
public function collect(Request $request, Response $response, \Throwable $exception = null)
{
if ('easyadmin' !== $request->attributes->get('_route')) {
return;
Expand Down

0 comments on commit 822eb2a

Please sign in to comment.