From d19ea92833810a28bc556b5a6fd1a2b35e550607 Mon Sep 17 00:00:00 2001 From: Alex Debril Date: Thu, 27 Jul 2017 13:16:44 +0200 Subject: [PATCH] Fix #122 --- src/FeedIo/Adapter/Guzzle/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FeedIo/Adapter/Guzzle/Response.php b/src/FeedIo/Adapter/Guzzle/Response.php index d300e8c6..0f21915c 100644 --- a/src/FeedIo/Adapter/Guzzle/Response.php +++ b/src/FeedIo/Adapter/Guzzle/Response.php @@ -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; } /**