diff --git a/Messenger/CommandMessage.php b/Messenger/CommandMessage.php index 06b6efb..139030f 100644 --- a/Messenger/CommandMessage.php +++ b/Messenger/CommandMessage.php @@ -105,7 +105,7 @@ abstract class CommandMessage public function __serialize(): array { return [ - 'command' => $this->getCommandName(), + 'commandName' => $this->getCommandName(), 'arguments' => $this->getArguments(), 'options' => $this->getOptions() ];