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
1 changed files with 1 additions and 0 deletions

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();