From e061e1864da50111f3f6ff776787c23d252cb36a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 1 Mar 2021 16:51:34 +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 --- HttpServer/ServerProviders.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/HttpServer/ServerProviders.php b/HttpServer/ServerProviders.php index 8eabd923..c720bf98 100644 --- a/HttpServer/ServerProviders.php +++ b/HttpServer/ServerProviders.php @@ -7,6 +7,7 @@ namespace HttpServer; use Console\Console; use Exception; use Snowflake\Abstracts\Providers; +use Snowflake\Application; /** * Class DatabasesProviders @@ -17,10 +18,10 @@ class ServerProviders extends Providers /** - * @param \Snowflake\Application $application + * @param Application $application * @throws Exception */ - public function onImport(\Snowflake\Application $application) + public function onImport(Application $application) { $application->set('server', ['class' => Server::class]);