diff options
Diffstat (limited to 'lib/Fetcher/IFeedFetcher.php')
-rw-r--r-- | lib/Fetcher/IFeedFetcher.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Fetcher/IFeedFetcher.php b/lib/Fetcher/IFeedFetcher.php index d5994a076..70f153d2e 100644 --- a/lib/Fetcher/IFeedFetcher.php +++ b/lib/Fetcher/IFeedFetcher.php @@ -30,7 +30,7 @@ interface IFeedFetcher * @return array an array containing the new feed and its items, first * element being the Feed and second element being an array of Items */ - public function fetch($url, $getFavicon = true, $lastModified = null, $user = null, $password = null); + public function fetch($url, $getFavicon = true, $lastModified = null, $user = null, $password = null): array; /** * Can a fetcher handle a feed. @@ -40,5 +40,5 @@ interface IFeedFetcher * @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 */ - public function canHandle($url); + public function canHandle($url): bool; } |