diff --git a/lib/Application.php b/lib/Application.php index fde86e65..4b00af3a 100644 --- a/lib/Application.php +++ b/lib/Application.php @@ -13,6 +13,7 @@ */ use Horde\Backup; +use Horde\Util\Variables; use Sabre\CalDAV; /* Determine the base directories. */ @@ -485,7 +486,7 @@ public function restoreDependencies() /** * @throws Nag_Exception */ - public function download(Horde_Variables $vars) + public function download(Variables|\Horde_Variables $vars) { global $display_tasklists, $injector, $registry; diff --git a/lib/Search.php b/lib/Search.php index 2ffd5b6e..69c7979c 100644 --- a/lib/Search.php +++ b/lib/Search.php @@ -11,6 +11,9 @@ * @license http://www.horde.org/licenses/gpl GPL * @package Nag */ + +use Horde\Util\Variables; + /** * Nag_Search:: Interface for performing task searches. * @@ -222,7 +225,7 @@ protected function _search($page, $perpage) * * @param Horde_Variables $vars The Horde_Variables object. */ - public function getVars(Horde_Variables &$vars) + public function getVars(Variables|\Horde_Variables &$vars) { $vars->set('search_pattern', $this->_search); $vars->set('search_tags', implode(',', $this->_tags)); diff --git a/lib/View/List.php b/lib/View/List.php index 2a7f5628..4991f592 100644 --- a/lib/View/List.php +++ b/lib/View/List.php @@ -11,6 +11,9 @@ * @author Michael J Rubinsky * @package Nag */ + +use Horde\Util\Variables; + class Nag_View_List { /** @@ -69,7 +72,7 @@ class Nag_View_List * * @return Nag_View_List */ - public function __construct($vars) + public function __construct(Variables|\Horde_Variables $vars) { $this->_vars = $vars; $this->_title = _("My Tasks");