Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joan Fabrégat committed Mar 4, 2018
1 parent 1f22c3f commit 80452fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codeinchq/lib-psr7responses",
"version": "1.1.7",
"version": "1.1.8",
"description": "A collection of PSR-7 responses",
"homepage": "https://github.com/codeinchq/lib-psr7responses",
"type": "library",
Expand Down
2 changes: 1 addition & 1 deletion src/StreamResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ public function __construct($resource, ?string $mimeType = null, ?int $contentLe
$headers["Content-Length"] = $contentLength;
}

parent::__construct($status, $headers, stream_for($resource), $version, $reason);
parent::__construct($status, $headers, $stream, $version, $reason);
}
}

0 comments on commit 80452fd

Please sign in to comment.