New Message instances have an empty Stream instead of NullStream by default.

This commit is contained in:
PJ Dietz 2016-05-22 12:44:40 -04:00
parent 409ffe9371
commit 6772bd1ae0
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ abstract class Message implements MessageInterface
if ($body !== null) { if ($body !== null) {
$this->body = $body; $this->body = $body;
} else { } else {
$this->body = new NullStream(); $this->body = new Stream('');
} }
} }