From f01ea83447a5a4e09b7bab349735c6d6f192ec4b Mon Sep 17 00:00:00 2001 From: xl Date: Wed, 28 Jun 2023 15:37:32 +0800 Subject: [PATCH] qqq --- src/RouterCollector.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/RouterCollector.php b/src/RouterCollector.php index f35b718..17983fc 100644 --- a/src/RouterCollector.php +++ b/src/RouterCollector.php @@ -35,20 +35,9 @@ class RouterCollector implements \ArrayAccess, \IteratorAggregate /** - * @var array> + * @var array */ - private HashMap $methods; - - protected HashMap $default; - - - /** - */ - public function __construct() - { - $this->methods = new HashMap(); - } - + private array $methods = []; /** * @return void