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 Oct 5, 2023
1 parent c69211f commit 6fcd6a8
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 @@ -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]) {
Expand Down

0 comments on commit 6fcd6a8

Please sign in to comment.