summaryrefslogtreecommitdiffstats
path: root/lib/Fetcher
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-12-26 13:09:41 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-12-30 11:21:44 +0100
commit05377d023ef4d43818a4b42039c8143cb0f907e4 (patch)
treec01fc681c42671dad774de7dc7c46524eb9ae015 /lib/Fetcher
parent27bd54058050a70bd1c9ec8cfcdf42d38541f1b0 (diff)
Remove PHPunit integration tests
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Fetcher')
-rw-r--r--lib/Fetcher/IFeedFetcher.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Fetcher/IFeedFetcher.php b/lib/Fetcher/IFeedFetcher.php
index aaba9de67..bfa737805 100644
--- a/lib/Fetcher/IFeedFetcher.php
+++ b/lib/Fetcher/IFeedFetcher.php
@@ -14,6 +14,8 @@
namespace OCA\News\Fetcher;
use FeedIo\Reader\ReadErrorException;
+use OCA\News\Db\Feed;
+use OCA\News\Db\Item;
interface IFeedFetcher
{
@@ -29,7 +31,7 @@ interface IFeedFetcher
* @param string|null $user if given, basic auth is set for this feed
* @param string|null $password if given, basic auth is set for this feed. Ignored if user is empty
*
- * @return array an array containing the new feed and its items, first
+ * @return <Feed, Item[]> an array containing the new feed and its items, first
* element being the Feed and second element being an array of Items
*
* @throws ReadErrorException if the Feed-IO fetcher encounters a problem