diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2019-04-11 19:29:28 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2019-04-26 18:43:00 +0200 |
commit | 3af4817e578ea16d2442e287aa80fc6a9f2ddbcb (patch) | |
tree | ffa6f7b9bcc0847c9ccc1a49b0dbb99e26e1edfd /lib/Fetcher/Client/FeedIoClient.php | |
parent | 23e1229d6a1b4d2555b95a45280ce83e40ad6c4d (diff) |
Update to feedio 4+
- bumped dependencies to last supported version
travis:
- removed php 7.0
- move main target to stable16
- add seperate runs for stable14 and stable15
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Fetcher/Client/FeedIoClient.php')
-rw-r--r-- | lib/Fetcher/Client/FeedIoClient.php | 3 |
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 = [ |