aboutsummaryrefslogtreecommitdiff
path: root/app/Models/SimplePieCustom.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/SimplePieCustom.php')
-rw-r--r--app/Models/SimplePieCustom.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/SimplePieCustom.php b/app/Models/SimplePieCustom.php
index c3593e4a2..44e5b030e 100644
--- a/app/Models/SimplePieCustom.php
+++ b/app/Models/SimplePieCustom.php
@@ -13,8 +13,8 @@ final class FreshRSS_SimplePieCustom extends \SimplePie\SimplePie
$limits = FreshRSS_Context::systemConf()->limits;
$this->get_registry()->register(\SimplePie\File::class, FreshRSS_SimplePieFetch::class);
$this->set_useragent(FRESHRSS_USERAGENT);
- $this->set_cache_name_function('sha1');
- $this->set_cache_location(CACHE_PATH);
+ $this->set_cache_name_function('sha1'); // @phpstan-ignore method.deprecated
+ $this->set_cache_location(CACHE_PATH); // @phpstan-ignore method.deprecated
$this->set_cache_duration($limits['cache_duration'], $limits['cache_duration_min'], $limits['cache_duration_max']);
$this->enable_order_by_date(false);