You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-07-06 06:22:30 +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.
|
* 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 {
|
class AliasHandler extends PFAHandler {
|
||||||
|
|
||||||
protected $db_table = 'alias';
|
protected $db_table = 'alias';
|
||||||
protected $id_field = 'address';
|
protected $id_field = 'address';
|
||||||
protected $domain_field = 'domain';
|
protected $domain_field = 'domain';
|
||||||
|
@ -49,8 +49,6 @@
|
|||||||
<MissingClosureReturnType errorLevel="info" />
|
<MissingClosureReturnType errorLevel="info" />
|
||||||
<MissingReturnType errorLevel="info" />
|
<MissingReturnType errorLevel="info" />
|
||||||
<MissingPropertyType errorLevel="info" />
|
<MissingPropertyType errorLevel="info" />
|
||||||
<InvalidDocblock errorLevel="info" />
|
|
||||||
<MisplacedRequiredParam errorLevel="info" />
|
|
||||||
|
|
||||||
<PropertyNotSetInConstructor errorLevel="info" />
|
<PropertyNotSetInConstructor errorLevel="info" />
|
||||||
<MissingConstructor errorLevel="info" />
|
<MissingConstructor errorLevel="info" />
|
||||||
|
@ -20,7 +20,7 @@ class Crypt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return true/false boolean
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function crypt($algorithm) {
|
public function crypt($algorithm) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -58,6 +58,7 @@ class DovecotCrypt extends Crypt {
|
|||||||
|
|
||||||
$this->password = $this->$func($this->plain);
|
$this->password = $this->$func($this->plain);
|
||||||
//$this->plain = '';
|
//$this->plain = '';
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function verify($algorithm, $password) {
|
public function verify($algorithm, $password) {
|
||||||
|
Reference in New Issue
Block a user