From eb4fece960fb24e5bed81cd1f6d6304d7f3c7e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 3 Sep 2020 00:48:54 +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/ServerProviders.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/http-server/ServerProviders.php b/http-server/ServerProviders.php index 091c488b..ef125acb 100644 --- a/http-server/ServerProviders.php +++ b/http-server/ServerProviders.php @@ -26,9 +26,7 @@ class ServerProviders extends Providers */ public function onImport(\Snowflake\Application $application) { - $application->set('server', [ - 'class' => Server::class - ]); + $application->set('server', ['class' => Server::class]); // /** @var \Console\Application $console */ // $console = $application->get('console');