Skip to content

Commit

Permalink
OP-466 - Fix ecs
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPalen committed Aug 5, 2024
1 parent a00d699 commit 15db014
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/Form/Type/CustomerAutocompleteChoiceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public function configureOptions(OptionsResolver $resolver): void
]);
}

public function buildView(FormView $view, FormInterface $form, array $options): void
{
public function buildView(
FormView $view,
FormInterface $form,
array $options
): void {
$view->vars['remote_criteria_type'] = 'contains';
$view->vars['remote_criteria_name'] = 'email';
}
Expand Down
1 change: 0 additions & 1 deletion src/Repository/CustomerRepositoryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

trait CustomerRepositoryTrait
{

public function findByEmailPart(string $email, ?int $limit = null): array
{
return $this->createQueryBuilder('c')
Expand Down

0 comments on commit 15db014

Please sign in to comment.