summaryrefslogtreecommitdiff
path: root/classes/plugin.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-11-28 19:24:12 +0300
committerAndrew Dolgov <[email protected]>2022-11-28 19:24:12 +0300
commit94c49399cc10c1f7001e8c76db7575b70e1fc674 (patch)
treed5be976e4549b4ed36863fdb975a5101b6d8c33b /classes/plugin.php
parent52180c9f8f3c06b8bdfb942dd2aa2818e9dd41c6 (diff)
get_self_url: strip all trailing slashes
Diffstat (limited to 'classes/plugin.php')
-rw-r--r--classes/plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/plugin.php b/classes/plugin.php
index f47ab1882..d941a1616 100644
--- a/classes/plugin.php
+++ b/classes/plugin.php
@@ -482,7 +482,7 @@ abstract class Plugin {
/** Invoked for every enclosure entry as article is being rendered
* @param array<string,string> $entry
- * @param int $id
+ * @param int $id article id
* @param array{'formatted': string, 'entries': array<int, array<string, mixed>>} $rv
* @return array<string,string> ($entry)
* @see PluginHost::HOOK_ENCLOSURE_ENTRY