diff options
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. |