diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-08-01 11:14:03 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-08-01 11:14:03 +0200 |
commit | 1a68ae5a29bc33ab80c9cfbe043cb1213551533c (patch) | |
tree | e39e34609192aa48ac5770d979fa5b4dbbf8c8c2 /application | |
parent | d6e5f04d3987e498c5cb859eed6bff33d67949df (diff) | |
download | Shaarli-1a68ae5a29bc33ab80c9cfbe043cb1213551533c.tar.gz Shaarli-1a68ae5a29bc33ab80c9cfbe043cb1213551533c.tar.zst Shaarli-1a68ae5a29bc33ab80c9cfbe043cb1213551533c.zip |
Bookmark's thumbnails PHPDoc improvement
Diffstat (limited to 'application')
-rw-r--r-- | application/bookmark/Bookmark.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
37 | /** @var array List of bookmark's tags */ | 37 | /** @var array List of bookmark's tags */ |
38 | protected $tags; | 38 | protected $tags; |
39 | 39 | ||
40 | /** @var string Thumbnail's URL - false if no thumbnail could be found */ | 40 | /** @var string|bool|null Thumbnail's URL - initialized at null, false if no thumbnail could be found */ |
41 | protected $thumbnail; | 41 | protected $thumbnail; |
42 | 42 | ||
43 | /** @var bool Set to true if the bookmark is set as sticky */ | 43 | /** @var bool Set to true if the bookmark is set as sticky */ |
@@ -347,7 +347,7 @@ class Bookmark | |||
347 | /** | 347 | /** |
348 | * Get the Thumbnail. | 348 | * Get the Thumbnail. |
349 | * | 349 | * |
350 | * @return string|bool|null | 350 | * @return string|bool|null Thumbnail's URL - initialized at null, false if no thumbnail could be found |
351 | */ | 351 | */ |
352 | public function getThumbnail() | 352 | public function getThumbnail() |
353 | { | 353 | { |
@@ -357,7 +357,7 @@ class Bookmark | |||
357 | /** | 357 | /** |
358 | * Set the Thumbnail. | 358 | * Set the Thumbnail. |
359 | * | 359 | * |
360 | * @param string|bool $thumbnail | 360 | * @param string|bool $thumbnail Thumbnail's URL - false if no thumbnail could be found |
361 | * | 361 | * |
362 | * @return Bookmark | 362 | * @return Bookmark |
363 | */ | 363 | */ |