Skip to content

Commit 6d047ac

Browse files
committed
Merge branch '2.x' into 3.x
* 2.x: Utility\Stream::getContent() - add return type
2 parents 3534d37 + 7bfe691 commit 6d047ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpMessage/Utility/Stream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Stream
2929
*
3030
* @return string
3131
*/
32-
public static function getContents(StreamInterface $stream)
32+
public static function getContents(StreamInterface $stream): string
3333
{
3434
try {
3535
$pos = $stream->tell();

0 commit comments

Comments
 (0)