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

Commit

Permalink
Merge pull request zendframework/zendframework#7412 from samsonasik/n…
Browse files Browse the repository at this point in the history
…ull-three

Use === and !== in null checks instead of == and !=
  • Loading branch information
weierophinney committed May 4, 2015
3 parents 4b661e8 + dea46b2 + 0f61333 commit dca512a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,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 dca512a

Please sign in to comment.