[FrameworkBundle] Add parameter types from Routing.
This commit is contained in:
parent
b64fdb7c0a
commit
b5ba1d4e2f
@ -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',
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user