Compatibility fixes for Roundcube 1.7

This commit is contained in:
Aleksander Machniak 2024-01-10 14:44:14 +01:00
parent 9c69920ccb
commit f41dc94eae
2 changed files with 4 additions and 4 deletions

View file

@ -235,7 +235,7 @@ class carddav_contacts extends rcube_addressbook
*
* @param mixed Search params to use in listing method, obtained by get_search_set()
*/
public function set_search_set($filter)
public function set_search_set($filter): void
{
$this->filter = $filter;
}
@ -253,7 +253,7 @@ class carddav_contacts extends rcube_addressbook
/**
* Reset saved results and search parameters
*/
public function reset()
public function reset(): void
{
$this->result = null;
$this->filter = null;

View file

@ -288,7 +288,7 @@ class kolab_contacts extends rcube_addressbook
*
* @param mixed Search params to use in listing method, obtained by get_search_set()
*/
public function set_search_set($filter)
public function set_search_set($filter): void
{
$this->filter = $filter;
}
@ -306,7 +306,7 @@ class kolab_contacts extends rcube_addressbook
/**
* Reset saved results and search parameters
*/
public function reset()
public function reset(): void
{
$this->result = null;
$this->filter = null;