Minor correction to RSSUtils::cache_enclosures() $enclosures param type.

All FeedEnclosure values are currently strings, even though the numeric things get converted to int before getting inserted in 'ttrss_enclosures'.
This commit is contained in:
wn_ 2021-11-17 20:45:26 +00:00
parent fb1e85baaf
commit 2d830c6281
1 changed files with 1 additions and 1 deletions

View File

@ -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
*/