aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-02-26 09:00:35 +0100
committerGravatar GitHub <noreply@github.com> 2024-02-26 09:00:35 +0100
commit25166c218be4e1ce1cb098de274a231b623d527e (patch)
tree36ae287f372c36631fbcb2bf952f82cc4a02fb75 /app/Models/Entry.php
parent84d88d4b5dbd12130344a02fa8dd2cfb2b55b96a (diff)
RSS thumbnails (#5972)
* Added addtional media:content for thumbnails * Fix whitespace * More attributes for enclosures * Fix variable * Fix variable * No duplicates --------- Co-authored-by: root <root@ha-server.lan>
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index d3cfa07de..9caca1fb7 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -314,7 +314,7 @@ HTML;
}
/**
- * @return array{'url':string,'type'?:string,'medium'?:string,'length'?:int,'title'?:string,'description'?:string,'credit'?:string,'height'?:int,'width'?:int,'thumbnails'?:array<string>}|null
+ * @return array{'url':string,'height'?:int,'width'?:int,'time'?:string}|null
*/
public function thumbnail(bool $searchEnclosures = true): ?array {
$thumbnail = $this->attributeArray('thumbnail') ?? [];