Skip to content

Commit f249458

Browse files
committed
RouteList::match() is final (BC break)
1 parent 1bdd50f commit f249458

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Routing/RouteList.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ public function __construct()
4040
/**
4141
* Maps HTTP request to an array.
4242
* @return ?array<string, mixed>
43-
* @final
4443
*/
45-
public function match(Nette\Http\IRequest $httpRequest): ?array
44+
final public function match(Nette\Http\IRequest $httpRequest): ?array
4645
{
4746
if ($httpRequest = $this->prepareRequest($httpRequest)) {
4847
foreach ($this->list as [$router]) {

0 commit comments

Comments
 (0)