From 2b5ec551cda2709ae07e010f5a1a759a869ae7b0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 28 Jan 2024 14:50:10 +0300 Subject: add type hint for FeedEnclosure --- init.php | 1 + 1 file changed, 1 insertion(+) diff --git a/init.php b/init.php index 1dd2eef..6e33c0f 100644 --- a/init.php +++ b/init.php @@ -487,6 +487,7 @@ class Api_Resize_Media extends Plugin { $widths, true); } + /** @var FeedEnclosure $enc */ foreach ($article["enclosures"] as $enc) { if (preg_match("/image/", $enc->type)) { $this->prepare_thumbnails( -- cgit v1.2.3