summaryrefslogtreecommitdiffstats
path: root/fetcher/ifeedfetcher.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-13 00:30:06 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-13 00:30:06 +0200
commit7949ab9216b3958c93ea409298d026e1e364b66b (patch)
tree5ba5946ec9993b2ac32811555cd832b99031e3fc /fetcher/ifeedfetcher.php
parentbb88dd5d7becb42830a052ca8efee9103c722081 (diff)
try to fix return type of enhancer and feed fetcher
Diffstat (limited to 'fetcher/ifeedfetcher.php')
-rw-r--r--fetcher/ifeedfetcher.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/fetcher/ifeedfetcher.php b/fetcher/ifeedfetcher.php
index d380e9bb3..f53257613 100644
--- a/fetcher/ifeedfetcher.php
+++ b/fetcher/ifeedfetcher.php
@@ -20,9 +20,8 @@ interface IFeedFetcher {
* @param boolean $getFavicon if the favicon should also be fetched, defaults
* to true
* @throws FetcherException if the fetcher encounters a problem
- * @return array with the first element being the feed and the
- * second element being an array of items. Those items will be saved into
- * into the database
+ * @return array(\OCA\News\Db\Feed, \OCA\News\Db\Item[]) an array containing
+ * the new feed and its items
*/
function fetch($url, $getFavicon=true);