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

Commit

Permalink
Merge branch 'hotfix/7412'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed May 4, 2015
3 parents 4b661e8 + dea46b2 + 27539ee commit 1183595
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Response/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ public static function fromStream($responseString, $stream)

if (!$headerComplete) {
while (false !== ($nextLine = fgets($stream))) {

$headersString .= trim($nextLine)."\r\n";
if ($nextLine == "\r\n" || $nextLine == "\n") {
$headerComplete = true;
Expand Down Expand Up @@ -231,7 +230,7 @@ public static function fromStream($responseString, $stream)
*/
public function getBody()
{
if ($this->stream != null) {
if ($this->stream !== null) {
$this->readStream();
}
return parent::getBody();
Expand Down

0 comments on commit 1183595

Please sign in to comment.