diff --git a/model/AliasHandler.php b/model/AliasHandler.php index af9af937..716ea745 100644 --- a/model/AliasHandler.php +++ b/model/AliasHandler.php @@ -3,10 +3,9 @@ /** * Handlers User level alias actions - e.g. add alias, get aliases, update etc. - * @property $username name of alias - * @property $return return of methods */ class AliasHandler extends PFAHandler { + protected $db_table = 'alias'; protected $id_field = 'address'; protected $domain_field = 'domain'; diff --git a/psalm.xml b/psalm.xml index d0e426f3..51672bcf 100644 --- a/psalm.xml +++ b/psalm.xml @@ -49,8 +49,6 @@ - - diff --git a/scripts/snippets/crypt.php b/scripts/snippets/crypt.php index 4bf6cb47..3cec06c1 100644 --- a/scripts/snippets/crypt.php +++ b/scripts/snippets/crypt.php @@ -20,7 +20,7 @@ class Crypt { } /** - * @return true/false boolean + * @return bool */ public function crypt($algorithm) { return true; diff --git a/scripts/snippets/dovecot_crypt.php b/scripts/snippets/dovecot_crypt.php index 99717a0b..4bd429c6 100644 --- a/scripts/snippets/dovecot_crypt.php +++ b/scripts/snippets/dovecot_crypt.php @@ -58,6 +58,7 @@ class DovecotCrypt extends Crypt { $this->password = $this->$func($this->plain); //$this->plain = ''; + return true; } public function verify($algorithm, $password) {