summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-14 21:35:54 +0300
committerAndrew Dolgov <[email protected]>2021-11-14 21:35:54 +0300
commit55ffb031c23f753e5d9fc80f8e9387e751b3971c (patch)
treef0ce250bef1ae20781ca7ae52c1e074402d368d4
parentf53a72b9c0fa6894fa808220f196eb1481cbe245 (diff)
fix phpstan warnings (oops)
-rw-r--r--init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.php b/init.php
index ed9292d..c14026c 100644
--- a/init.php
+++ b/init.php
@@ -1,7 +1,7 @@
<?php
class Close_Button extends Plugin {
function init($host) {
- $this->host->add_hook($this->host::HOOK_ARTICLE_BUTTON, $this);
+ $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this);
}
function about() {