You've already forked postfixadmin
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:
@ -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();
|
||||
|
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user