Skip to content

Commit 9ac3b0f

Browse files
committed
minor cleanup
1 parent 13ad0f8 commit 9ac3b0f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/Maker/MakeResetPassword.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@
3636
*/
3737
class MakeResetPassword extends AbstractMaker
3838
{
39-
/**
40-
* @var FileManager
41-
*/
4239
private $fileManager;
4340

4441
public function __construct(FileManager $fileManager)
@@ -110,6 +107,8 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
110107
$interactiveSecurityHelper->guessPasswordSetter($io, $userClass)
111108
);
112109

110+
$io->text(sprintf('Implementing reset password for <info>%s</info>', $userClass));
111+
113112
$io->section('- ResetPasswordController -');
114113
$io->text('A named route is used for redirecting after a successful reset. Even a route that does not exist yet can be used here.');
115114
$input->setArgument('controller-reset-success-redirect', $io->ask(
@@ -119,8 +118,6 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
119118
)
120119
);
121120

122-
$io->text(sprintf('Implementing reset password for <info>%s</info>', $userClass));
123-
124121
$io->section('- Email Templates -');
125122
$emailText[] = 'These are used to generate the email code. Don\'t worry, you can change them in the code later!';
126123
$io->text($emailText);
@@ -263,7 +260,8 @@ private function setBundleConfig(ConsoleStyle $io, Generator $generator, string
263260
*/
264261
if (!$configFileExists) {
265262
$io->text(sprintf('We can\'t find %s. That\'s ok, you probably have a customized configuration.', $path));
266-
$io->text('Just remember to set the correct <fg=yellow>symfonycasts_reset_password: request_password_repository</> value.');
263+
$io->text('Just remember to set the <fg=yellow>request_password_repository</> in your configuration.');
264+
$io->newLine();
267265

268266
return;
269267
}

0 commit comments

Comments
 (0)