This commit is contained in:
2021-10-26 10:35:41 +08:00
parent fdd5608367
commit 90b22a14e0
2 changed files with 13 additions and 5 deletions
-5
View File
@@ -50,9 +50,6 @@ class Server extends HttpService
/** @var ContainerInterface */
#[Inject(ContainerInterface::class)]
public ContainerInterface $container;
/**
@@ -60,8 +57,6 @@ class Server extends HttpService
*/
public function init()
{
$this->container->mapping(RequestInterface::class, Request::class);
$this->container->mapping(ResponseInterface::class, Response::class);
}