plugin base: add type hint to init(host)

This commit is contained in:
Andrew Dolgov 2017-12-03 10:11:32 +03:00
parent 49a888ecce
commit 69563c96b4

View file

@ -5,6 +5,7 @@ abstract class Plugin {
/** @var PDO */ /** @var PDO */
protected $pdo; protected $pdo;
/* @var PluginHost $host */
abstract function init($host); abstract function init($host);
abstract function about(); abstract function about();