This commit is contained in:
2021-07-21 18:50:40 +08:00
parent b99551e326
commit 1e6333a18e
3 changed files with 22 additions and 16 deletions
+2 -4
View File
@@ -82,7 +82,6 @@ class Request extends HttpService
$this->fd = $fd;
}
/**
* @return array|null
* @throws Exception
@@ -243,12 +242,11 @@ class Request extends HttpService
* @return mixed
* @throws Exception
*/
public function adapter(): mixed
public function adapter(): void
{
if (!$this->isHead()) {
return router()->dispatch();
router()->dispatch();
}
return '';
}