diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2019-01-31 10:23:56 +0100 |
---|---|---|
committer | Sean Molenaar <sean@seanmolenaar.eu> | 2019-01-31 10:23:56 +0100 |
commit | d61a57bd2dbbc6ecbddfaa22c347248210703f02 (patch) | |
tree | f8db17a80c431ef4029f4e25bbbb6334d8c16b96 /lib/Fetcher/IFeedFetcher.php | |
parent | a3246a927de542e1b3ab403359bfd3c08705b6a7 (diff) |
Make feed failing more verbose
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; } |