From 9e4dc62024419177b7b7ba6ebc7b55f98cf21b26 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Fri, 6 Oct 2023 00:30:11 +0200 Subject: [PATCH] RouteList::match() is final (BC break) --- src/Routing/RouteList.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Routing/RouteList.php b/src/Routing/RouteList.php index 17eac8e..3c4bc42 100644 --- a/src/Routing/RouteList.php +++ b/src/Routing/RouteList.php @@ -37,9 +37,8 @@ public function __construct() /** * Maps HTTP request to an array. - * @final */ - public function match(Nette\Http\IRequest $httpRequest): ?array + final public function match(Nette\Http\IRequest $httpRequest): ?array { if ($httpRequest = $this->prepareRequest($httpRequest)) { foreach ($this->list as [$router]) {