summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-10 21:03:58 +0300
committerAndrew Dolgov <[email protected]>2021-11-10 21:03:58 +0300
commite51869d56d21396e36b0438fba588bc8b0abba6b (patch)
tree7e5611597e0a6dfe8b7914ef60f3352b525f1f9d
parenta0fa1594cbed7bd70654f506e2104e724bde4ac4 (diff)
phpstan 1.0 cleanup
-rw-r--r--init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.php b/init.php
index c1169fc..1df795c 100644
--- a/init.php
+++ b/init.php
@@ -5,7 +5,7 @@ class Close_Button extends Plugin {
function init($host) {
$this->host = $host;
- $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this);
+ $host->add_hook($this->host::HOOK_ARTICLE_BUTTON, $this);
}
function about() {