Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/Ajax/Imple/EditNote.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@
* @category Horde
* @package Mnemo
*/

use Horde\Util\Variables;

class Mnemo_Ajax_Imple_EditNote extends Horde_Core_Ajax_Imple_InPlaceEditor
{
/**
*/
protected function _handleEdit(Horde_Variables $vars)
protected function _handleEdit(Variables|\Horde_Variables $vars)
{
$storage = $GLOBALS['injector']->getInstance('Mnemo_Factory_Driver')->create();
$memo = $storage->getByUID($vars->id);
Expand Down
3 changes: 2 additions & 1 deletion lib/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/

use Horde\Backup;
use Horde\Util\Variables;

/* Determine the base directories. */
if (!defined('MNEMO_BASE')) {
Expand Down Expand Up @@ -370,7 +371,7 @@ public function restore(Backup\Collection $data)
/**
* @throws Mnemo_Exception
*/
public function download(Horde_Variables $vars)
public function download(Variables|\Horde_Variables $vars)
{
global $injector, $registry;

Expand Down
5 changes: 4 additions & 1 deletion lib/View/List.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* @license http://www.horde.org/licenses/bsdl.php BSD
* @package Mnemo
*/

use Horde\Util\Variables;

class Mnemo_View_List
{
/**
Expand Down Expand Up @@ -70,7 +73,7 @@ class Mnemo_View_List
*
* @return Nag_View_List
*/
public function __construct($vars)
public function __construct(Variables|\Horde_Variables $vars)
{
$this->_vars = $vars;
$this->_title = _("My Notes");
Expand Down
Loading