diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-10-20 11:31:52 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-11-05 14:30:13 +0100 |
commit | 0d051da4a14b6325b4ab7d93ebcd63d4a8dc141c (patch) | |
tree | 2f239a01e4f87f4fa3110235c609b9944df50258 /application/LinkUtils.php | |
parent | 515eba6495fdf8b0b283d7ff27329399a3100262 (diff) | |
download | Shaarli-0d051da4a14b6325b4ab7d93ebcd63d4a8dc141c.tar.gz Shaarli-0d051da4a14b6325b4ab7d93ebcd63d4a8dc141c.tar.zst Shaarli-0d051da4a14b6325b4ab7d93ebcd63d4a8dc141c.zip |
Minor code cleanup: PHPDoc, spelling, unused variables, etc.
Diffstat (limited to 'application/LinkUtils.php')
-rw-r--r-- | application/LinkUtils.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/LinkUtils.php b/application/LinkUtils.php index eeca631f..9d9ae3cb 100644 --- a/application/LinkUtils.php +++ b/application/LinkUtils.php | |||
@@ -81,7 +81,7 @@ function html_extract_charset($html) | |||
81 | /** | 81 | /** |
82 | * Count private links in given linklist. | 82 | * Count private links in given linklist. |
83 | * | 83 | * |
84 | * @param array $links Linklist. | 84 | * @param array|Countable $links Linklist. |
85 | * | 85 | * |
86 | * @return int Number of private links. | 86 | * @return int Number of private links. |
87 | */ | 87 | */ |
@@ -162,6 +162,7 @@ function space2nbsp($text) | |||
162 | * | 162 | * |
163 | * @param string $description shaare's description. | 163 | * @param string $description shaare's description. |
164 | * @param string $redirector if a redirector is set, use it to gerenate links. | 164 | * @param string $redirector if a redirector is set, use it to gerenate links. |
165 | * @param string $indexUrl URL to Shaarli's index. | ||
165 | * | 166 | * |
166 | * @return string formatted description. | 167 | * @return string formatted description. |
167 | */ | 168 | */ |