mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:15:55 +00:00
fix even more warnings reported by phpstan
This commit is contained in:
@@ -120,7 +120,8 @@ class Counters {
|
||||
$has_img = false;
|
||||
}
|
||||
|
||||
if (date('Y') - date('Y', strtotime($line['last_updated'])) > 2)
|
||||
// hide default un-updated timestamp i.e. 1980-01-01 (?) -fox
|
||||
if ((int)date('Y') - (int)date('Y', strtotime($line['last_updated'])) > 2)
|
||||
$last_updated = '';
|
||||
|
||||
$cv = [
|
||||
|
||||
Reference in New Issue
Block a user