summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetcher/feedfetcher.php2
-rw-r--r--fetcher/ifeedfetcher.php2
-rw-r--r--tests/unit/fetcher/FeedFetcherTest.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/fetcher/feedfetcher.php b/fetcher/feedfetcher.php
index ca9367a95..436a92c70 100644
--- a/fetcher/feedfetcher.php
+++ b/fetcher/feedfetcher.php
@@ -59,7 +59,7 @@ class FeedFetcher implements IFeedFetcher {
/**
* Fetch a feed from remote
- * @param string url remote url of the feed
+ * @param string $url remote url of the feed
* @param boolean $getFavicon if the favicon should also be fetched, defaults
* to true
* @throws FetcherException if simple pie fails
diff --git a/fetcher/ifeedfetcher.php b/fetcher/ifeedfetcher.php
index 9cdde5cdf..d380e9bb3 100644
--- a/fetcher/ifeedfetcher.php
+++ b/fetcher/ifeedfetcher.php
@@ -16,7 +16,7 @@ namespace OCA\News\Fetcher;
interface IFeedFetcher {
/**
- * @param string url remote url of the feed
+ * @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
diff --git a/tests/unit/fetcher/FeedFetcherTest.php b/tests/unit/fetcher/FeedFetcherTest.php
index 714e1d1de..72a94f50a 100644
--- a/tests/unit/fetcher/FeedFetcherTest.php
+++ b/tests/unit/fetcher/FeedFetcherTest.php
@@ -400,7 +400,7 @@ class FeedFetcherTest extends \PHPUnit_Framework_TestCase {
$item = $this->createItem(false, true);
$this->expectCore('get_items', array($this->item));
- $result = $this->fetcher->fetch($this->url /*, true*/);
+ $result = $this->fetcher->fetch($this->url);
$this->assertEquals(array($feed, array($item)), $result);
}