diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-09-28 21:07:24 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-29 13:02:03 +0200 |
commit | bc01761221384c0bbac0297d38e85bcaa6286a9a (patch) | |
tree | bea5acc2db33186982ba94a4270c9eb277c8f0b3 /lib/Fetcher/IFeedFetcher.php | |
parent | d00d1ab2a28f428223e52b17052c072c64784016 (diff) |
Fix repair step and test it
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Fetcher/IFeedFetcher.php')
-rw-r--r-- | lib/Fetcher/IFeedFetcher.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/Fetcher/IFeedFetcher.php b/lib/Fetcher/IFeedFetcher.php index ce44ec104..aaba9de67 100644 --- a/lib/Fetcher/IFeedFetcher.php +++ b/lib/Fetcher/IFeedFetcher.php @@ -31,9 +31,17 @@ 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 + * * @throws ReadErrorException if the Feed-IO fetcher encounters a problem */ - public function fetch(string $url, bool $favicon, $lastModified, bool $fullTextEnabled, $user, $password): array; + public function fetch( + string $url, + bool $favicon, + ?string $lastModified, + bool $fullTextEnabled, + ?string $user, + ?string $password + ): array; /** * Can a fetcher handle a feed. |