This commit is contained in:
2021-03-01 16:51:34 +08:00
parent 885884e73c
commit e061e1864d
+3 -2
View File
@@ -7,6 +7,7 @@ namespace HttpServer;
use Console\Console; use Console\Console;
use Exception; use Exception;
use Snowflake\Abstracts\Providers; use Snowflake\Abstracts\Providers;
use Snowflake\Application;
/** /**
* Class DatabasesProviders * Class DatabasesProviders
@@ -17,10 +18,10 @@ class ServerProviders extends Providers
/** /**
* @param \Snowflake\Application $application * @param Application $application
* @throws Exception * @throws Exception
*/ */
public function onImport(\Snowflake\Application $application) public function onImport(Application $application)
{ {
$application->set('server', ['class' => Server::class]); $application->set('server', ['class' => Server::class]);