Skip to content

Commit

Permalink
Add return types to src/Form/RegistrationType
Browse files Browse the repository at this point in the history
  • Loading branch information
t2d committed Dec 21, 2024
1 parent 709dc4b commit 5004935
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/RegistrationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ class RegistrationType extends AbstractType
/**
* RegistrationType constructor.
*/
public function __construct(EntityManagerInterface $manager)
public function __construct(EntityManagerInterface $manager) : void
{
$this->domain = $manager->getRepository(Domain::class)->getDefaultDomain()->getName();
}

public function buildForm(FormBuilderInterface $builder, array $options)
public function buildForm(FormBuilderInterface $builder, array $options) : void
{
$transformer = new TextToEmailTransformer($this->domain);

Expand Down

0 comments on commit 5004935

Please sign in to comment.