This commit is contained in:
2023-11-30 17:02:19 +08:00
parent 04b1aab406
commit 2a78115643
+1 -3
View File
@@ -5,7 +5,6 @@ namespace Kiri\Server;
use Kiri\Abstracts\Providers; use Kiri\Abstracts\Providers;
use Kiri\Di\LocalService;
use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface; use Psr\Container\NotFoundExceptionInterface;
use Symfony\Component\Console\Application; use Symfony\Component\Console\Application;
@@ -20,11 +19,10 @@ class ServerProviders extends Providers
/** /**
* @param LocalService $application
* @throws ContainerExceptionInterface * @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface * @throws NotFoundExceptionInterface
*/ */
public function onImport(LocalService $application): void public function onImport(): void
{ {
$server = $this->container->get(ServerCommand::class); $server = $this->container->get(ServerCommand::class);