aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/LinkUtils.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-10-20 11:31:52 +0200
committerArthurHoaro <arthur@hoa.ro>2016-10-20 11:36:11 +0200
commit7af9a41881ed0b9d44d18a0ce03a123a8441adf5 (patch)
tree499d26ccee0d0df3aeac5fe9d27faf2800721698 /application/LinkUtils.php
parentceeb8fbeb89f69e41791ae192d073d6afea00f4b (diff)
downloadShaarli-7af9a41881ed0b9d44d18a0ce03a123a8441adf5.tar.gz
Shaarli-7af9a41881ed0b9d44d18a0ce03a123a8441adf5.tar.zst
Shaarli-7af9a41881ed0b9d44d18a0ce03a123a8441adf5.zip
Minor code cleanup: PHPDoc, spelling, unused variables, etc.
Diffstat (limited to 'application/LinkUtils.php')
-rw-r--r--application/LinkUtils.php3
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 */