Skip to content

Commit 1fb0e9b

Browse files
authored
Merge pull request #161 from ruudk/patch-1
Add mixed return type to `StreamInterface::getMetadata`
2 parents 2311491 + 71c020a commit 1fb0e9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Decorator/StreamDecorator.php

+3
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ public function getContents(): string
8686
return $this->stream->getContents();
8787
}
8888

89+
/**
90+
* @return mixed
91+
*/
8992
public function getMetadata(string $key = null)
9093
{
9194
return $this->stream->getMetadata($key);

0 commit comments

Comments
 (0)