Skip to content

Commit

Permalink
Merge pull request #125 from alexdebril/issue/122
Browse files Browse the repository at this point in the history
Fix #122
  • Loading branch information
alexdebril authored Jul 27, 2017
2 parents c4c1b98 + d19ea92 commit 80ad665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FeedIo/Adapter/Guzzle/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct(PsrResponseInterface $psrResponse)
*/
public function isModified()
{
return $this->psrResponse->getStatusCode() != 304 && strlen($this->psrResponse->getBody()) > 0;
return $this->psrResponse->getStatusCode() != 304 && $this->psrResponse->getBody()->getSize() > 0;
}

/**
Expand Down

0 comments on commit 80ad665

Please sign in to comment.