From 98054ee0f283485938b1c739a5f596af7e326b4e Mon Sep 17 00:00:00 2001 From: jjergus Date: Wed, 29 Jul 2020 10:23:41 -0700 Subject: [PATCH] array -> varray typehint --- src/router/UnknownRouterException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/UnknownRouterException.php b/src/router/UnknownRouterException.php index 5282e22..73f2081 100644 --- a/src/router/UnknownRouterException.php +++ b/src/router/UnknownRouterException.php @@ -11,13 +11,13 @@ namespace Facebook\HackRouter; class UnknownRouterException extends InternalServerErrorException { - public function __construct(private array $fastRouteData) { + public function __construct(private varray $fastRouteData) { parent::__construct( 'Unknown FastRoute response: '.\var_export($fastRouteData, true), ); } - public function getFastRouteData(): array { + public function getFastRouteData(): varray { return $this->fastRouteData; } }