From da3e9717ba25b4c85312e0f5267b5230d04c7a0d Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 13 May 2014 00:20:58 +0200 Subject: fix doc comments in feedfetcher --- fetcher/feedfetcher.php | 2 +- fetcher/ifeedfetcher.php | 2 +- tests/unit/fetcher/FeedFetcherTest.php | 2 +- 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); } -- cgit v1.2.3