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

Commit 98054ee

Browse files
committed
array -> varray typehint
1 parent d7384b9 commit 98054ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/router/UnknownRouterException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
namespace Facebook\HackRouter;
1212

1313
class UnknownRouterException extends InternalServerErrorException {
14-
public function __construct(private array<mixed> $fastRouteData) {
14+
public function __construct(private varray<mixed> $fastRouteData) {
1515
parent::__construct(
1616
'Unknown FastRoute response: '.\var_export($fastRouteData, true),
1717
);
1818
}
1919

20-
public function getFastRouteData(): array<mixed> {
20+
public function getFastRouteData(): varray<mixed> {
2121
return $this->fastRouteData;
2222
}
2323
}

0 commit comments

Comments
 (0)