diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/Models/Feed.php | 2 | ||||
| -rwxr-xr-x | app/actualize_script.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 6c840942b..f833b2834 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -363,7 +363,7 @@ class FreshRSS_Feed extends Minz_Model { public function load(bool $loadDetails = false, bool $noCache = false): ?SimplePie { if ($this->url != '') { // @phpstan-ignore-next-line - if (CACHE_PATH === false) { + if (CACHE_PATH == '') { throw new Minz_FileNotExistException( 'CACHE_PATH', Minz_Exception::ERROR diff --git a/app/actualize_script.php b/app/actualize_script.php index 160911f53..67dcc9631 100755 --- a/app/actualize_script.php +++ b/app/actualize_script.php @@ -30,11 +30,9 @@ define('SIMPLEPIE_SYSLOG_ENABLED', FreshRSS_Context::$system_conf->simplepie_sys */ function notice(string $message): void { Minz_Log::notice($message, ADMIN_LOG); - // @phpstan-ignore-next-line if (!COPY_LOG_TO_SYSLOG && SIMPLEPIE_SYSLOG_ENABLED) { syslog(LOG_NOTICE, $message); } - // @phpstan-ignore-next-line if (defined('STDOUT') && !COPY_SYSLOG_TO_STDERR) { fwrite(STDOUT, $message . "\n"); //Unbuffered } |
