mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 12:03:48 +00:00
Apply rector rules: symfony up to 54
This commit is contained in:
@@ -29,6 +29,7 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
*/
|
||||
class ChillUserSendRenewPasswordCodeCommand extends Command
|
||||
{
|
||||
protected static $defaultDescription = 'Send a message with code to recover password';
|
||||
/**
|
||||
* @var EntityManagerInterface
|
||||
*/
|
||||
@@ -82,7 +83,6 @@ class ChillUserSendRenewPasswordCodeCommand extends Command
|
||||
{
|
||||
$this
|
||||
->setName('chill:user:send-password-recover-code')
|
||||
->setDescription('Send a message with code to recover password')
|
||||
->addArgument('csvfile', InputArgument::REQUIRED, 'CSV file with the list of users')
|
||||
->addOption('template', null, InputOption::VALUE_REQUIRED, 'Template for email')
|
||||
->addOption('expiration', null, InputOption::VALUE_REQUIRED, 'Expiration of the link, as an unix timestamp')
|
||||
@@ -108,7 +108,7 @@ class ChillUserSendRenewPasswordCodeCommand extends Command
|
||||
$this->sendRecoverCode($user);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user