Skip to content

Commit 9eb2e1a

Browse files
committed
document return type of getImagePreviews
1 parent a68ec5d commit 9eb2e1a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Core/PlaybackFormat.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public function hasImagePreviews(): bool
7676
return !!$this->imagePreviewsRaw;
7777
}
7878

79+
/**
80+
*
81+
* @return array<int, array{width: int, height: int, alt: string, url: string}>
82+
*/
7983
public function getImagePreviews(): array
8084
{
8185
if ($this->imagePreviews !== null) {

0 commit comments

Comments
 (0)