tighten psalm checks

pull/298/head
David Goodwin 5 years ago
parent a603d36224
commit 034a50836c

@ -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';

@ -49,8 +49,6 @@
<MissingClosureReturnType errorLevel="info" />
<MissingReturnType errorLevel="info" />
<MissingPropertyType errorLevel="info" />
<InvalidDocblock errorLevel="info" />
<MisplacedRequiredParam errorLevel="info" />
<PropertyNotSetInConstructor errorLevel="info" />
<MissingConstructor errorLevel="info" />

@ -20,7 +20,7 @@ class Crypt {
}
/**
* @return true/false boolean
* @return bool
*/
public function crypt($algorithm) {
return true;

@ -58,6 +58,7 @@ class DovecotCrypt extends Crypt {
$this->password = $this->$func($this->plain);
//$this->plain = '';
return true;
}
public function verify($algorithm, $password) {

Loading…
Cancel
Save