This commit is contained in:
xl
2024-08-29 16:10:20 +08:00
parent ac4315bcb9
commit e59b78d2b1
-1
View File
@@ -273,7 +273,6 @@ class RouterCollector implements \ArrayAccess, \IteratorAggregate
*/ */
public function query(string $path, string $method): HttpRequestHandler public function query(string $path, string $method): HttpRequestHandler
{ {
var_dump($this->httpHandler, $method . '_' . $path);
return $this->httpHandler[$method . '_' . $path] ?? new HttpRequestHandler([], $this->found); return $this->httpHandler[$method . '_' . $path] ?? new HttpRequestHandler([], $this->found);
} }