You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-07-04 19:02:25 +03:00
tighten psalm checks
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user