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