Skip to content

Commit

Permalink
Merge pull request #161 from ruudk/patch-1
Browse files Browse the repository at this point in the history
Add mixed return type to `StreamInterface::getMetadata`
  • Loading branch information
dbu committed Mar 7, 2024
2 parents 2311491 + 71c020a commit 1fb0e9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Decorator/StreamDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ public function getContents(): string
return $this->stream->getContents();
}

/**
* @return mixed
*/
public function getMetadata(string $key = null)
{
return $this->stream->getMetadata($key);
Expand Down

0 comments on commit 1fb0e9b

Please sign in to comment.