Loading core/lib/Drupal/Core/Routing/AccessAwareRouter.php +1 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,7 @@ public function generate($name, $parameters = [], $referenceType = self::ABSOLUT * @throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException * Thrown when access checking failed. */ public function match($pathinfo) { public function match($pathinfo): array { return $this->matchRequest(Request::create($pathinfo)); } Loading core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -30,6 +30,6 @@ public function matchRequest(Request $request): array; * @throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException * Thrown when $access_check is enabled and access checking failed. */ public function match($pathinfo); public function match($pathinfo): array; } core/lib/Drupal/Core/Routing/Router.php +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public function addRouteEnhancer(EnhancerInterface $route_enhancer) { /** * {@inheritdoc} */ public function match($pathinfo) { public function match($pathinfo): array { $request = Request::create($pathinfo); return $this->matchRequest($request); Loading Loading
core/lib/Drupal/Core/Routing/AccessAwareRouter.php +1 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,7 @@ public function generate($name, $parameters = [], $referenceType = self::ABSOLUT * @throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException * Thrown when access checking failed. */ public function match($pathinfo) { public function match($pathinfo): array { return $this->matchRequest(Request::create($pathinfo)); } Loading
core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -30,6 +30,6 @@ public function matchRequest(Request $request): array; * @throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException * Thrown when $access_check is enabled and access checking failed. */ public function match($pathinfo); public function match($pathinfo): array; }
core/lib/Drupal/Core/Routing/Router.php +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public function addRouteEnhancer(EnhancerInterface $route_enhancer) { /** * {@inheritdoc} */ public function match($pathinfo) { public function match($pathinfo): array { $request = Request::create($pathinfo); return $this->matchRequest($request); Loading