summaryrefslogtreecommitdiff
path: root/inc/plugin.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-09-28 14:44:17 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-09-28 14:44:17 +0200
commit21d806cd5466991b4790c5e6b37a40ae35f1eecb (patch)
treecc0697b058f111f33728b76d0fe15a7b8d0683c6 /inc/plugin.php
parentb79379f2e598abaa2febb299cdfcebe0a95d034c (diff)
downloadrpg-21d806cd5466991b4790c5e6b37a40ae35f1eecb.tar.gz
rpg-21d806cd5466991b4790c5e6b37a40ae35f1eecb.tar.bz2
improve some scrutinizer issues
different types unused vars PHPDocs
Diffstat (limited to 'inc/plugin.php')
-rw-r--r--inc/plugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/plugin.php b/inc/plugin.php
index 92a8efd62..80689e389 100644
--- a/inc/plugin.php
+++ b/inc/plugin.php
@@ -53,11 +53,11 @@ class DokuWiki_Plugin {
return $t;
}
public function getPluginName() {
- list($t, $p, $n) = explode('_', get_class($this), 4);
+ list(/* $t */, /* $p */, $n) = explode('_', get_class($this), 4);
return $n;
}
public function getPluginComponent() {
- list($t, $p, $n, $c) = explode('_', get_class($this), 4);
+ list(/* $t */, /* $p */, /* $n */, $c) = explode('_', get_class($this), 4);
return (isset($c)?$c:'');
}