Bookmark's thumbnails PHPDoc improvement

This commit is contained in:
ArthurHoaro 2020-08-01 11:14:03 +02:00
parent d6e5f04d39
commit 1a68ae5a29

View file

@ -37,7 +37,7 @@ class Bookmark
/** @var array List of bookmark's tags */ /** @var array List of bookmark's tags */
protected $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; protected $thumbnail;
/** @var bool Set to true if the bookmark is set as sticky */ /** @var bool Set to true if the bookmark is set as sticky */
@ -347,7 +347,7 @@ public function setTags($tags)
/** /**
* Get the Thumbnail. * 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() public function getThumbnail()
{ {
@ -357,7 +357,7 @@ public function getThumbnail()
/** /**
* Set the Thumbnail. * Set the Thumbnail.
* *
* @param string|bool $thumbnail * @param string|bool $thumbnail Thumbnail's URL - false if no thumbnail could be found
* *
* @return Bookmark * @return Bookmark
*/ */