This commit is contained in:
xl
2023-05-26 11:38:36 +08:00
parent 7bffa008d5
commit d980f35f9b
+2 -2
View File
@@ -141,8 +141,8 @@ class RouterCollector implements \ArrayAccess, \IteratorAggregate
* @param string $method * @param string $method
* @param Handler $handler * @param Handler $handler
* @return void * @return void
* @throws ReflectionException * @throws Exception
*/ */
public function register(string $path, string $method, Handler $handler): void public function register(string $path, string $method, Handler $handler): void
{ {
$hashMap = HashMap::Tree($this->methods, $method); $hashMap = HashMap::Tree($this->methods, $method);