summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-15 02:40:45 +0000
committerwn_ <[email protected]>2021-11-15 02:40:45 +0000
commit78acf18b70e3d6ba22e2c2db950e132cfb5d35be (patch)
tree199178700033e27ce505c783105a6f71d0ab1c0a /classes/rssutils.php
parent8943604aad6d01865e824520130733682f4088ab (diff)
Address PHPStan warnings in FeedItem classes.
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index 3815b3ca1..baace6b20 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -687,7 +687,7 @@ class RSSUtils {
}
$entry_comments = mb_substr(strip_tags($item->get_comments_url()), 0, 245);
- $num_comments = (int) $item->get_comments_count();
+ $num_comments = $item->get_comments_count();
$entry_author = strip_tags($item->get_author());
$entry_guid = mb_substr($entry_guid, 0, 245);