Skip to content

Commit

Permalink
RouteList::match() is final (BC break)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Nov 4, 2024
1 parent a6f14fd commit 9e4dc62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Routing/RouteList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit 9e4dc62

Please sign in to comment.