summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-17 20:45:26 +0000
committerwn_ <[email protected]>2021-11-17 20:45:41 +0000
commit2d830c6281c19a7ee29cd379f5aedc82deef3775 (patch)
tree074b61eedd7304ba1d8d7deec01d26973ef8e6b8
parentfb1e85baaf2f3870297c03984f3122d4ed6ad767 (diff)
Minor correction to RSSUtils::cache_enclosures() $enclosures param type.wip-phpstan-level6
All FeedEnclosure values are currently strings, even though the numeric things get converted to int before getting inserted in 'ttrss_enclosures'.
-rwxr-xr-xclasses/rssutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index baace6b20..b886a060c 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -1275,7 +1275,7 @@ class RSSUtils {
/**
* TODO: move to DiskCache?
*
- * @param array<int, array<string|int>> $enclosures An array of "enclosure arrays" [string $link, string $type, int $length, string, $title, int $width, int $height]
+ * @param array<int, array<string>> $enclosures An array of "enclosure arrays" [string $link, string $type, string $length, string, $title, string $width, string $height]
* @see RSSUtils::update_rss_feed()
* @see FeedEnclosure
*/