summaryrefslogtreecommitdiffstats
path: root/lib/Fetcher/Client/LegacyGuzzleClient.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Fetcher/Client/LegacyGuzzleClient.php')
-rw-r--r--lib/Fetcher/Client/LegacyGuzzleClient.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Fetcher/Client/LegacyGuzzleClient.php b/lib/Fetcher/Client/LegacyGuzzleClient.php
index 8e41221c9..4d56df0b3 100644
--- a/lib/Fetcher/Client/LegacyGuzzleClient.php
+++ b/lib/Fetcher/Client/LegacyGuzzleClient.php
@@ -12,6 +12,7 @@
namespace OCA\News\Fetcher\Client;
use FeedIo\Adapter\ClientInterface as FeedIoClientInterface;
+use FeedIo\Adapter\ResponseInterface;
use FeedIo\Adapter\NotFoundException;
use FeedIo\Adapter\ServerErrorException;
use Guzzle\Service\ClientInterface;
@@ -42,7 +43,7 @@ class LegacyGuzzleClient implements FeedIoClientInterface
* @throws \FeedIo\Adapter\ServerErrorException
* @return \FeedIo\Adapter\ResponseInterface
*/
- public function getResponse($url, \DateTime $modifiedSince)
+ public function getResponse(string $url, \DateTime $modifiedSince) : ResponseInterface
{
try {
$options = [