Skip to content

Commit

Permalink
[make:registration] add missing property types
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Apr 2, 2024
1 parent 07614b5 commit ef061b2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Maker/MakeRegistrationForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@
*/
final class MakeRegistrationForm extends AbstractMaker
{
private $userClass;
private $usernameField;
private $passwordField;
private $willVerifyEmail = false;
private $verifyEmailAnonymously = false;
private $idGetter;
private $emailGetter;
private $fromEmailAddress;
private $fromEmailName;
private string $userClass;
private string $usernameField;
private string $passwordField;
private bool $willVerifyEmail = false;
private bool $verifyEmailAnonymously = false;
private string $idGetter;
private string $emailGetter;
private string $fromEmailAddress;
private string $fromEmailName;
private ?Authenticator $autoLoginAuthenticator = null;
private $redirectRouteName;
private $addUniqueEntityConstraint;
private string $redirectRouteName;
private bool $addUniqueEntityConstraint = false;

public function __construct(
private FileManager $fileManager,
Expand All @@ -99,7 +99,7 @@ public static function getCommandDescription(): string
return 'Create a new registration form system';
}

public function configureCommand(Command $command, InputConfiguration $inputConf): void
public function configureCommand(Command $command, InputConfiguration $inputConfig): void
{
$command
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeRegistrationForm.txt'))
Expand Down

0 comments on commit ef061b2

Please sign in to comment.