This commit is contained in:
2025-07-14 17:55:15 +08:00
parent eebaf63999
commit 9376a73628
+1 -11
View File
@@ -33,6 +33,7 @@ class ServerCommand extends Command
{
#[Container(State::class)]
public State $state;
@@ -64,17 +65,6 @@ class ServerCommand extends Command
public EventProvider $eventProvider;
/**
* @param string|null $name
* @throws Exception
*/
public function __construct(string $name = null)
{
parent::__construct($name);
$this->state = Kiri::getDi()->get(State::class);
}
/**
* @return void
*/