From 6fcd6a8a2296f2fdb64d857f1f04b1a1053dd82b 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 897444d..53f4e3f 100644 --- a/src/Routing/RouteList.php +++ b/src/Routing/RouteList.php @@ -39,9 +39,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->beforeMatch($httpRequest)) { foreach ($this->list as [$router]) {