This commit is contained in:
2021-09-10 10:50:56 +08:00
parent f217a14f23
commit 1db221c771
5 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -173,11 +173,11 @@ trait Message
/**
* @return string
* @return StreamInterface
*/
public function getBody(): string
public function getBody(): StreamInterface
{
return $this->stream->getContents();
return $this->stream;
}