Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'patch-3' of https://github.com/feskehau/zf2 into hotfix…
Browse files Browse the repository at this point in the history
…/mvc-response-fluent_interface
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PhpEnvironment/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function contentSent()
public function sendHeaders()
{
if ($this->headersSent()) {
return;
return $this;
}

$status = $this->renderStatusLine();
Expand All @@ -51,7 +51,7 @@ public function sendHeaders()
public function sendContent()
{
if ($this->contentSent()) {
return;
return $this;
}
echo $this->getContent();
$this->contentSent = true;
Expand Down

0 comments on commit 9b0ae41

Please sign in to comment.