Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Feb 26, 2023
1 parent 5de6967 commit 3b29e80
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Form/Type/RegistrationFormType.php
Expand Up @@ -56,7 +56,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
return '';
}
},
'setter' => static function (UserInterface &$user, ?string $value, FormInterface $form): void {
'setter' => static function (UserInterface &$user, ?string $value, FormInterface $form): void {
if (null === $value) {
return;
}
Expand All @@ -77,7 +77,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
return '';
}
},
'setter' => static function (UserInterface &$user, ?string $value, FormInterface $form): void {
'setter' => static function (UserInterface &$user, ?string $value, FormInterface $form): void {
if (null === $value) {
return;
}
Expand Down
5 changes: 5 additions & 0 deletions tests/App/AppKernel.php
Expand Up @@ -36,10 +36,15 @@ public function __construct()
public function registerBundles(): iterable
{
yield new FrameworkBundle();

yield new TwigBundle();

yield new SecurityBundle();

yield new DoctrineBundle();

yield new NucleosUserBundle();

yield new NucleosProfileBundle();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Resources/XliffTest.php
Expand Up @@ -62,7 +62,7 @@ public function getFiles(): iterable

private function validateXliff(string $file): void
{
[,$locale, ] = explode('.', $file);
[,$locale] = explode('.', $file);

try {
$catalogue = $this->loader->load($file, $locale);
Expand Down

0 comments on commit 3b29e80

Please sign in to comment.