1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-29 22:41:11 +03:00

PSR2 -> PSR12 formatting

This commit is contained in:
David Goodwin
2022-06-28 13:46:11 +01:00
parent bed0300fae
commit 2d6ded2786
42 changed files with 84 additions and 70 deletions

View File

@ -208,7 +208,7 @@ class PostfixAdmin
# TODO: add a way to Cli* to signal if the selected handler is supported (for example, not all *Handler support changing the password)
if (strtolower(get_parent_class($shell)) == 'shell') {
$handler = new $shell->handler_to_use;
$handler = new $shell->handler_to_use();
if (in_array($task, $handler->taskNames)) {
$this->shiftArgs();
$shell->startup();

View File

@ -2,25 +2,24 @@
class Crypt
{
/**
* @access private
*/
protected $plain = '';
/**
* @access private
*/
protected $password;
protected $size;
public function __construct($plaintext)
{
$this->plain = $plaintext;
}
/**
* @return bool
*/