diff --git a/core/lib/Drupal/Core/Routing/NullGenerator.php b/core/lib/Drupal/Core/Routing/NullGenerator.php index 8154e14..f2e47f0 100644 --- a/core/lib/Drupal/Core/Routing/NullGenerator.php +++ b/core/lib/Drupal/Core/Routing/NullGenerator.php @@ -10,6 +10,7 @@ use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\Routing\RequestContext as SymfonyRequestContext; use Symfony\Component\Routing\Exception\RouteNotFoundException; +use Symfony\Component\Routing\Route as SymfonyRoute; /** * No-op implementation of a Url Generator, needed for backward compatibility. @@ -43,13 +44,13 @@ protected function getRoute($name) { /** * {@inheritdoc} */ - protected function processRoute($name, Route $route, array &$parameters) { + protected function processRoute($name, SymfonyRoute $route, array &$parameters) { } /** * {@inheritdoc} */ - protected function getInternalPathFromRoute(Route $route, $parameters = array()) { + protected function getInternalPathFromRoute(SymfonyRoute $route, $parameters = array()) { return $route->getPath(); }