Use more standardized phpcs
This commit is contained in:
parent
a043071e3c
commit
c449ca5155
493 changed files with 1116 additions and 3903 deletions
|
@ -31,8 +31,6 @@ class MakeUserCommand extends Command
|
|||
|
||||
/**
|
||||
* MakeUserCommand constructor.
|
||||
*
|
||||
* @param \Pterodactyl\Services\Users\UserCreationService $creationService
|
||||
*/
|
||||
public function __construct(UserCreationService $creationService)
|
||||
{
|
||||
|
@ -55,7 +53,7 @@ class MakeUserCommand extends Command
|
|||
$name_first = $this->option('name-first') ?? $this->ask(trans('command/messages.user.ask_name_first'));
|
||||
$name_last = $this->option('name-last') ?? $this->ask(trans('command/messages.user.ask_name_last'));
|
||||
|
||||
if (is_null($password = $this->option('password')) && ! $this->option('no-password')) {
|
||||
if (is_null($password = $this->option('password')) && !$this->option('no-password')) {
|
||||
$this->warn(trans('command/messages.user.ask_password_help'));
|
||||
$this->line(trans('command/messages.user.ask_password_tip'));
|
||||
$password = $this->secret(trans('command/messages.user.ask_password'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue