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

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Client.php
Expand Up @@ -582,7 +582,7 @@ public function setStream($streamfile = true)
*/
public function getStream()
{
if (!is_null($this->streamName)) {
if (null !== $this->streamName) {
return $this->streamName;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Response/Stream.php
Expand Up @@ -242,7 +242,7 @@ public function getRawBody()
*/
protected function readStream()
{
if (!is_null($this->contentLength)) {
if (null !== $this->contentLength) {
$bytes = $this->contentLength - $this->contentStreamed;
} else {
$bytes = -1; //Read the whole buffer
Expand Down

0 comments on commit 411b935

Please sign in to comment.