diff --git a/composer.json b/composer.json index 35027b1..10001d0 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "domraider/rxnet", "description": "Rx connector for PHP", - "version": "0.6.4", + "version": "0.6.5", "keywords": [ "rabbit", "queue", diff --git a/src/Rxnet/RabbitMq/RabbitMessage.php b/src/Rxnet/RabbitMq/RabbitMessage.php index 559448c..a0e9a8f 100644 --- a/src/Rxnet/RabbitMq/RabbitMessage.php +++ b/src/Rxnet/RabbitMq/RabbitMessage.php @@ -94,7 +94,7 @@ public function getData() */ public function getDataClone() { - return $this->serializer->unserialize($this->message); + return $this->serializer->unserialize($this->message->content); } /**