summaryrefslogtreecommitdiffstats
path: root/fetcher/ifeedfetcher.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 16:45:36 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 16:45:36 +0200
commit42d69a95f3276a2d6089ca68f635c4e2f6aa7a23 (patch)
tree6a17fd7998f291e6dec1d996c1e7c724b92b8e58 /fetcher/ifeedfetcher.php
parent0e6598b0734fb927109f745d9c0f3a8605a30ca5 (diff)
convert tabs indention to indention with 4 spaces because of mixing of both variants in code and better readability on github and websites because you cant set the indention width there and 8 spaces will be used for a tab
Diffstat (limited to 'fetcher/ifeedfetcher.php')
-rw-r--r--fetcher/ifeedfetcher.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/fetcher/ifeedfetcher.php b/fetcher/ifeedfetcher.php
index 10d0a9af6..8869d9292 100644
--- a/fetcher/ifeedfetcher.php
+++ b/fetcher/ifeedfetcher.php
@@ -15,21 +15,21 @@ namespace OCA\News\Fetcher;
interface IFeedFetcher {
- /**
- * @param string $url remote url of the feed
- * @param boolean $getFavicon if the favicon should also be fetched, defaults
- * to true
- * @throws FetcherException if the fetcher encounters a problem
- * @return array an array containing the new feed and its items, first
- * element being the Feed and second element being an array of Items
- */
- function fetch($url, $getFavicon=true);
+ /**
+ * @param string $url remote url of the feed
+ * @param boolean $getFavicon if the favicon should also be fetched, defaults
+ * to true
+ * @throws FetcherException if the fetcher encounters a problem
+ * @return array an array containing the new feed and its items, first
+ * element being the Feed and second element being an array of Items
+ */
+ function fetch($url, $getFavicon=true);
- /**
- * @param string $url the url that should be fetched
- * @return boolean if the fetcher can handle the url. This fetcher will be
- * used exclusively to fetch the feed and the items of the page
- */
- function canHandle($url);
+ /**
+ * @param string $url the url that should be fetched
+ * @return boolean if the fetcher can handle the url. This fetcher will be
+ * used exclusively to fetch the feed and the items of the page
+ */
+ function canHandle($url);
} \ No newline at end of file