mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
DX: rector apply rules 'symfony up to 4.4
This commit is contained in:
@@ -63,7 +63,7 @@ class SetPasswordCommand extends Command
|
||||
->addArgument('password', InputArgument::OPTIONAL, 'the new password');
|
||||
}
|
||||
|
||||
public function execute(InputInterface $input, OutputInterface $output)
|
||||
public function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
$user = $this->_getUser($input->getArgument('username'));
|
||||
|
||||
@@ -81,5 +81,6 @@ class SetPasswordCommand extends Command
|
||||
}
|
||||
|
||||
$this->_setPassword($user, $password);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user