diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2023-03-01 17:41:11 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2023-03-23 12:12:06 +0100 |
commit | b1476e958a02eca59c1ce9b5cd3bf09aea6cd308 (patch) | |
tree | 7799e0816f2a5802ae94fb92fd783cd6e076df70 /lib/Fetcher/IFeedFetcher.php | |
parent | eeabb4189b2376e1c5cb6fdeaa908bb30bfd1584 (diff) |
If timestamp is null use timestamp "one year ago"
if timestamp is not set during creation of a feed use date one year ago
code fixes and linting fixes.
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Fetcher/IFeedFetcher.php')
-rw-r--r-- | lib/Fetcher/IFeedFetcher.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Fetcher/IFeedFetcher.php b/lib/Fetcher/IFeedFetcher.php index 8729858b5..7f2bbe31c 100644 --- a/lib/Fetcher/IFeedFetcher.php +++ b/lib/Fetcher/IFeedFetcher.php @@ -27,6 +27,7 @@ interface IFeedFetcher * @param bool $fullTextEnabled If true use a scraper to download the full article * @param string|null $user if given, basic auth is set for this feed * @param string|null $password if given, basic auth is set for this feed. Ignored if user is empty + * @param string|null $httpLastModified if given, will be used when sending a request to servers * * @return array<Feed, Item[]> an array containing the new feed and its items, first * element being the Feed and second element being an array of Items |