summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-01-28 14:50:10 +0300
committerAndrew Dolgov <[email protected]>2024-01-28 14:50:10 +0300
commit2b5ec551cda2709ae07e010f5a1a759a869ae7b0 (patch)
treeb5e844828d680ee2678831cf663c4fa919c1ba5e
parentc5f36fa6c561532707531cace3ea140618d5fc22 (diff)
add type hint for FeedEnclosureHEADmaster
-rw-r--r--init.php1
1 files changed, 1 insertions, 0 deletions
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(