From: ArthurHoaro Date: Sat, 1 Aug 2020 09:14:03 +0000 (+0200) Subject: Bookmark's thumbnails PHPDoc improvement X-Git-Tag: v0.12.0-beta~4^2~2 X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=commitdiff_plain;h=1a68ae5a29bc33ab80c9cfbe043cb1213551533c Bookmark's thumbnails PHPDoc improvement --- diff --git a/application/bookmark/Bookmark.php b/application/bookmark/Bookmark.php index c6f2c515..1beb8be2 100644 --- a/application/bookmark/Bookmark.php +++ b/application/bookmark/Bookmark.php @@ -37,7 +37,7 @@ class Bookmark /** @var array List of bookmark's tags */ protected $tags; - /** @var string Thumbnail's URL - false if no thumbnail could be found */ + /** @var string|bool|null Thumbnail's URL - initialized at null, false if no thumbnail could be found */ protected $thumbnail; /** @var bool Set to true if the bookmark is set as sticky */ @@ -347,7 +347,7 @@ class Bookmark /** * Get the Thumbnail. * - * @return string|bool|null + * @return string|bool|null Thumbnail's URL - initialized at null, false if no thumbnail could be found */ public function getThumbnail() { @@ -357,7 +357,7 @@ class Bookmark /** * Set the Thumbnail. * - * @param string|bool $thumbnail + * @param string|bool $thumbnail Thumbnail's URL - false if no thumbnail could be found * * @return Bookmark */