[FrameworkBundle] Add parameter types from Routing.

This commit is contained in:
Alexander M. Turek 2019-08-14 11:12:19 +02:00
parent b64fdb7c0a
commit b5ba1d4e2f
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class RedirectableCompiledUrlMatcher extends CompiledUrlMatcher implements Redir
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function redirect($path, $route, $scheme = null) public function redirect(string $path, string $route, string $scheme = null)
{ {
return [ return [
'_controller' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction', '_controller' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction',

View File

@ -27,7 +27,7 @@
"symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-mbstring": "~1.0",
"symfony/filesystem": "^4.4|^5.0", "symfony/filesystem": "^4.4|^5.0",
"symfony/finder": "^4.4|^5.0", "symfony/finder": "^4.4|^5.0",
"symfony/routing": "^4.4|^5.0" "symfony/routing": "^5.0"
}, },
"require-dev": { "require-dev": {
"doctrine/cache": "~1.0", "doctrine/cache": "~1.0",