Skip to content

Commit

Permalink
Update AbstractResponse.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed Apr 7, 2017
1 parent 5c75c36 commit b6b4942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Message/AbstractResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public function __construct(string $json)
* @param int $status
* @param array $headers
*
* @return AbstractResponse
* @return Response
*/
protected function instance(string $body, int $status = 200, array $headers = []) : AbstractResponse
protected function instance(string $body, int $status = 200, array $headers = []) : Response
{
$response = new Response('php://memory', $status, $headers);
$response->getBody()->write($body);
Expand Down

0 comments on commit b6b4942

Please sign in to comment.