Skip to content

Commit 0ab615a

Browse files
committed
minor #253 Typo: Add missing closing bracket (pierredup)
This PR was squashed before being merged into the 1.0-dev branch (closes #253). Discussion ---------- Typo: Add missing closing bracket Add missing closing bracket in one of the questions when generating a user Commits ------- 901c5d6 Typo: Add missing closing bracket
2 parents 22a9bf3 + 901c5d6 commit 0ab615a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Maker/MakeUser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
6565
->setDescription('Creates a new security user class')
6666
->addArgument('name', InputArgument::OPTIONAL, 'The name of the security user class (e.g. <fg=yellow>User</>)')
6767
->addOption('is-entity', null, InputOption::VALUE_NONE, 'Do you want to store user data in the database (via Doctrine)?')
68-
->addOption('identity-property-name', null, InputOption::VALUE_REQUIRED, 'Enter a property name that will be the unique "display" name for the user (e.g. <comment>email, username, uuid</comment>')
68+
->addOption('identity-property-name', null, InputOption::VALUE_REQUIRED, 'Enter a property name that will be the unique "display" name for the user (e.g. <comment>email, username, uuid</comment>)')
6969
->addOption('with-password', null, InputOption::VALUE_NONE, 'Will this app be responsible for checking the password? Choose <comment>No</comment> if the password is actually checked by some other system (e.g. a single sign-on server)')
7070
->addOption('use-argon2', null, InputOption::VALUE_NONE, 'Use the Argon2i password encoder?')
7171
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeUser.txt'))
@@ -99,7 +99,7 @@ class_exists(DoctrineBundle::class)
9999
}
100100
$input->setOption('is-entity', $userIsEntity);
101101

102-
$identityFieldName = $io->ask('Enter a property name that will be the unique "display" name for the user (e.g. <comment>email, username, uuid</comment>', 'email', [Validator::class, 'validatePropertyName']);
102+
$identityFieldName = $io->ask('Enter a property name that will be the unique "display" name for the user (e.g. <comment>email, username, uuid</comment>)', 'email', [Validator::class, 'validatePropertyName']);
103103
$input->setOption('identity-property-name', $identityFieldName);
104104

105105
$io->text('Will this app need to hash/check user passwords? Choose <comment>No</comment> if passwords are not needed or will be checked/hashed by some other system (e.g. a single sign-on server).');

0 commit comments

Comments
 (0)