Skip to content

Commit 9e4dc62

Browse files
committed
RouteList::match() is final (BC break)
1 parent a6f14fd commit 9e4dc62

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Routing/RouteList.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ public function __construct()
3737

3838
/**
3939
* Maps HTTP request to an array.
40-
* @final
4140
*/
42-
public function match(Nette\Http\IRequest $httpRequest): ?array
41+
final public function match(Nette\Http\IRequest $httpRequest): ?array
4342
{
4443
if ($httpRequest = $this->prepareRequest($httpRequest)) {
4544
foreach ($this->list as [$router]) {

0 commit comments

Comments
 (0)