Skip to content

Commit

Permalink
fix RabbitMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneroudeix committed May 23, 2017
1 parent c4c6dae commit 3e0a730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "domraider/rxnet",
"description": "Rx connector for PHP",
"version": "0.6.4",
"version": "0.6.5",
"keywords": [
"rabbit",
"queue",
Expand Down
2 changes: 1 addition & 1 deletion src/Rxnet/RabbitMq/RabbitMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function getData()
*/
public function getDataClone()
{
return $this->serializer->unserialize($this->message);
return $this->serializer->unserialize($this->message->content);
}

/**
Expand Down

0 comments on commit 3e0a730

Please sign in to comment.