hyperf / hyperf/nats

encoder bugs

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

https://github.com/hyperf/nats/blob/576c7cc194e075efc1904755f4311cddb2c3c621/src/EncodedConnection.php#L71

if `$message->getBody()` return a JSON string
then `$this->encoder->decode($message->getBody())` will retun a array

But Hyperf\Nats\Message::setBody(): Argument #1 ($body) must be of type string

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.