]> git.wh0rd.org - tt-rss.git/commitdiff
plugin base: add type hint to init(host)
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 3 Dec 2017 07:11:32 +0000 (10:11 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 3 Dec 2017 07:11:32 +0000 (10:11 +0300)
classes/plugin.php

index 69060b28daf3357ee56c66b58c0662532a251e0e..b90c603b7357e1174d24bba94de16846d9d12610 100644 (file)
@@ -5,6 +5,7 @@ abstract class Plugin {
        /** @var PDO */
        protected $pdo;
 
+       /* @var PluginHost $host */
        abstract function init($host);
 
        abstract function about();