We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c31080e + 1be60b4 commit 57d5a37Copy full SHA for 57d5a37
src/CachingStream.php
@@ -25,7 +25,7 @@ class CachingStream implements StreamInterface
25
*/
26
public function __construct(
27
StreamInterface $stream,
28
- StreamInterface $target = null
+ ?StreamInterface $target = null
29
) {
30
$this->remoteStream = $stream;
31
$this->stream = $target ?: new Stream(fopen('php://temp', 'r+'));
0 commit comments