68
68
*/
69
69
final class MakeRegistrationForm extends AbstractMaker
70
70
{
71
- private $ userClass ;
72
- private $ usernameField ;
73
- private $ passwordField ;
74
- private $ willVerifyEmail = false ;
75
- private $ verifyEmailAnonymously = false ;
76
- private $ idGetter ;
77
- private $ emailGetter ;
78
- private $ fromEmailAddress ;
79
- private $ fromEmailName ;
71
+ private string $ userClass ;
72
+ private string $ usernameField ;
73
+ private string $ passwordField ;
74
+ private bool $ willVerifyEmail = false ;
75
+ private bool $ verifyEmailAnonymously = false ;
76
+ private string $ idGetter ;
77
+ private string $ emailGetter ;
78
+ private string $ fromEmailAddress ;
79
+ private string $ fromEmailName ;
80
80
private ?Authenticator $ autoLoginAuthenticator = null ;
81
- private $ redirectRouteName ;
82
- private $ addUniqueEntityConstraint ;
81
+ private string $ redirectRouteName ;
82
+ private bool $ addUniqueEntityConstraint = false ;
83
83
84
84
public function __construct (
85
85
private FileManager $ fileManager ,
@@ -99,7 +99,7 @@ public static function getCommandDescription(): string
99
99
return 'Create a new registration form system ' ;
100
100
}
101
101
102
- public function configureCommand (Command $ command , InputConfiguration $ inputConf ): void
102
+ public function configureCommand (Command $ command , InputConfiguration $ inputConfig ): void
103
103
{
104
104
$ command
105
105
->setHelp (file_get_contents (__DIR__ .'/../Resources/help/MakeRegistrationForm.txt ' ))
0 commit comments