Skip to content

Commit

Permalink
[FrameworkBundle] Add parameter types from Routing.
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Aug 14, 2019
1 parent b64fdb7 commit b5ba1d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -24,7 +24,7 @@ class RedirectableCompiledUrlMatcher extends CompiledUrlMatcher implements Redir
/**
* {@inheritdoc}
*/
public function redirect($path, $route, $scheme = null)
public function redirect(string $path, string $route, string $scheme = null)
{
return [
'_controller' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction',
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/composer.json
Expand Up @@ -27,7 +27,7 @@
"symfony/polyfill-mbstring": "~1.0",
"symfony/filesystem": "^4.4|^5.0",
"symfony/finder": "^4.4|^5.0",
"symfony/routing": "^4.4|^5.0"
"symfony/routing": "^5.0"
},
"require-dev": {
"doctrine/cache": "~1.0",
Expand Down

0 comments on commit b5ba1d4

Please sign in to comment.