Skip to content

Commit

Permalink
Merge branch 'main' into fix/VOL-4687
Browse files Browse the repository at this point in the history
  • Loading branch information
jerotire authored Dec 11, 2023
2 parents 793e1e9 + 49ec220 commit 615f913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Router/LaminasRouterHttpQueryV2.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class LaminasRouterHttpQueryV2 implements RouteInterface
*
* @param array $defaults
*/
public function __construct(array $defaults = [])
final public function __construct(array $defaults = [])
{
$this->defaults = $defaults;
}
Expand All @@ -68,7 +68,7 @@ public static function factory($options = [])
$options['defaults'] = [];
}

return new self($options['defaults']);
return new static($options['defaults']);
}

/**
Expand Down

0 comments on commit 615f913

Please sign in to comment.