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 13, 2023
1 parent e57c792 commit 859bcbe
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->prepareRequest($httpRequest)) {
foreach ($this->list as [$router]) {
Expand Down

0 comments on commit 859bcbe

Please sign in to comment.