aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/LinkUtils.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2016-10-20 20:41:24 +0200
committerGitHub <noreply@github.com>2016-10-20 20:41:24 +0200
commitfb6c8f770a07e38d5250ca4d6717445002e7bfb3 (patch)
tree499d26ccee0d0df3aeac5fe9d27faf2800721698 /application/LinkUtils.php
parentceeb8fbeb89f69e41791ae192d073d6afea00f4b (diff)
parent7af9a41881ed0b9d44d18a0ce03a123a8441adf5 (diff)
downloadShaarli-fb6c8f770a07e38d5250ca4d6717445002e7bfb3.tar.gz
Shaarli-fb6c8f770a07e38d5250ca4d6717445002e7bfb3.tar.zst
Shaarli-fb6c8f770a07e38d5250ca4d6717445002e7bfb3.zip
Merge pull request #671 from ArthurHoaro/cleanup-code
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 */