From 6e57fd77afbf43cee5e030f64c7598be8a97916e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Feb 2021 21:11:56 +0300 Subject: db: add type hints --- classes/pluginhost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/pluginhost.php') diff --git a/classes/pluginhost.php b/classes/pluginhost.php index d94279706..8c5e31ad3 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -111,7 +111,7 @@ class PluginHost { return Db::get(); } - function get_pdo() { + function get_pdo(): PDO { return $this->pdo; } -- cgit v1.2.3-54-g00ecf