From ccf84cd3d13f922683c0c266dc790979ad5b8a13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 7 Sep 2021 14:01:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-server/Abstracts/Http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server/Abstracts/Http.php b/http-server/Abstracts/Http.php index 92351a19..26312478 100644 --- a/http-server/Abstracts/Http.php +++ b/http-server/Abstracts/Http.php @@ -27,7 +27,7 @@ abstract class Http extends Server implements OnRequest use ResponseHelper; /** @var Router|mixed */ - #[Inject('router')] + #[Inject(Router::class)] public Router $router;