From e51869d56d21396e36b0438fba588bc8b0abba6b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Nov 2021 21:03:58 +0300 Subject: phpstan 1.0 cleanup --- init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3