Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
array -> varray typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
jjergus committed Jul 29, 2020
1 parent d7384b9 commit 98054ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/router/UnknownRouterException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
namespace Facebook\HackRouter;

class UnknownRouterException extends InternalServerErrorException {
public function __construct(private array<mixed> $fastRouteData) {
public function __construct(private varray<mixed> $fastRouteData) {
parent::__construct(
'Unknown FastRoute response: '.\var_export($fastRouteData, true),
);
}

public function getFastRouteData(): array<mixed> {
public function getFastRouteData(): varray<mixed> {
return $this->fastRouteData;
}
}

0 comments on commit 98054ee

Please sign in to comment.