mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:15:55 +00:00
more hooks, also add type hint for PluginHost::getInstance()
This commit is contained in:
@@ -90,7 +90,7 @@ class PluginHost {
|
||||
//
|
||||
}
|
||||
|
||||
public static function getInstance() {
|
||||
public static function getInstance(): PluginHost {
|
||||
if (self::$instance == null)
|
||||
self::$instance = new self();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user