Skip to content

Commit 2d97a8a

Browse files
committed
use listing in closing - consistent with make:user
1 parent a6ec917 commit 2d97a8a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Maker/MakeResetPassword.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,13 @@ public function generate(
275275
private function successMessage(InputInterface $input, ConsoleStyle $io, string $userClassName)
276276
{
277277
//@TODO sprintf these as needed
278-
$newClosing[] = 'Next:';
279-
$newClosing[] = ' 1) Run "php bin/console make:migration" to generate a migration for the new <fg=yellow>"ResetPasswordRequest"</> entity.';
280-
$newClosing[] = ' 2) Review and customize the templates in <fg=yellow>`templates/reset_password`</>.';
281-
$newClosing[] = ' 3) Make sure your <fg=yellow>MAILER_DSN</> env var has the correct settings.';
282-
$io->text($newClosing);
278+
$io->text('Next:');
279+
$io->listing([
280+
'Run "php bin/console make:migration" to generate a migration for the new <fg=yellow>"ResetPasswordRequest"</> entity.',
281+
' Review and customize the templates in <fg=yellow>`templates/reset_password`</>.',
282+
'Make sure your <fg=yellow>MAILER_DSN</> env var has the correct settings.'
283+
284+
]);
283285
$io->newLine();
284286
$io->text('Then go to "/reset-password" and enjoy!');
285287

0 commit comments

Comments
 (0)