This commit is contained in:
xl
2023-06-28 15:37:32 +08:00
parent 4b975b570b
commit f01ea83447
+2 -13
View File
@@ -35,20 +35,9 @@ class RouterCollector implements \ArrayAccess, \IteratorAggregate
/** /**
* @var array<string, array<string, HashMap>> * @var array<string, Handler>
*/ */
private HashMap $methods; private array $methods = [];
protected HashMap $default;
/**
*/
public function __construct()
{
$this->methods = new HashMap();
}
/** /**
* @return void * @return void