From ac0a1ae95dada80d46999ca7fc99bd142abbbf25 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Thu, 22 Apr 2021 14:55:30 +0300 Subject: [PATCH] fix serialization for transport php serializer --- Messenger/CommandMessage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ];