Loading core/lib/Drupal/Core/Routing/AccessAwareRouter.php +2 −1 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; use Symfony\Component\Routing\Matcher\RequestMatcherInterface; use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RequestContext as SymfonyRequestContext; use Symfony\Component\Routing\RequestContextAwareInterface; use Symfony\Component\Routing\RouterInterface; Loading Loading @@ -125,7 +126,7 @@ protected function checkAccess(Request $request) { /** * {@inheritdoc} */ public function getRouteCollection() { public function getRouteCollection(): RouteCollection { if ($this->router instanceof RouterInterface) { return $this->router->getRouteCollection(); } Loading core/lib/Drupal/Core/Routing/Router.php +1 −1 Original line number Diff line number Diff line Loading @@ -324,7 +324,7 @@ protected function applyFitOrder(RouteCollection $collection) { /** * {@inheritdoc} */ public function getRouteCollection() { public function getRouteCollection(): RouteCollection { return new LazyRouteCollection($this->routeProvider); } Loading Loading
core/lib/Drupal/Core/Routing/AccessAwareRouter.php +2 −1 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; use Symfony\Component\Routing\Matcher\RequestMatcherInterface; use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RequestContext as SymfonyRequestContext; use Symfony\Component\Routing\RequestContextAwareInterface; use Symfony\Component\Routing\RouterInterface; Loading Loading @@ -125,7 +126,7 @@ protected function checkAccess(Request $request) { /** * {@inheritdoc} */ public function getRouteCollection() { public function getRouteCollection(): RouteCollection { if ($this->router instanceof RouterInterface) { return $this->router->getRouteCollection(); } Loading
core/lib/Drupal/Core/Routing/Router.php +1 −1 Original line number Diff line number Diff line Loading @@ -324,7 +324,7 @@ protected function applyFitOrder(RouteCollection $collection) { /** * {@inheritdoc} */ public function getRouteCollection() { public function getRouteCollection(): RouteCollection { return new LazyRouteCollection($this->routeProvider); } Loading