php cs fixes after updating php cs fixer

This commit is contained in:
2024-01-10 10:31:25 +01:00
parent 60ede58af0
commit 3c8e59e088
682 changed files with 2097 additions and 882 deletions

View File

@@ -43,7 +43,8 @@ class CustomFieldChoice extends AbstractCustomField
* @var TranslatableStringHelper Helper that find the string in current locale from an array of translation
*/
private readonly TranslatableStringHelper $translatableStringHelper
) {}
) {
}
public function allowOtherChoice(CustomField $cf)
{

View File

@@ -45,7 +45,8 @@ class CustomFieldDate extends AbstractCustomField
public function __construct(
private readonly Environment $templating,
private readonly TranslatableStringHelper $translatableStringHelper
) {}
) {
}
public function buildForm(FormBuilderInterface $builder, CustomField $customField)
{

View File

@@ -28,7 +28,8 @@ class CustomFieldLongChoice extends AbstractCustomField
private readonly OptionRepository $optionRepository,
private readonly TranslatableStringHelper $translatableStringHelper,
private readonly \Twig\Environment $templating,
) {}
) {
}
public function buildForm(FormBuilderInterface $builder, CustomField $customField)
{

View File

@@ -42,7 +42,8 @@ class CustomFieldNumber extends AbstractCustomField
public function __construct(
private readonly Environment $templating,
private readonly TranslatableStringHelper $translatableStringHelper
) {}
) {
}
public function buildForm(FormBuilderInterface $builder, CustomField $customField)
{

View File

@@ -29,7 +29,8 @@ class CustomFieldText extends AbstractCustomField
public function __construct(
private readonly Environment $templating,
private readonly TranslatableStringHelper $translatableStringHelper
) {}
) {
}
/**
* Create a form according to the maxLength option.

View File

@@ -32,7 +32,8 @@ class CustomFieldTitle extends AbstractCustomField
* @var TranslatableStringHelper Helper that find the string in current locale from an array of translation
*/
private readonly TranslatableStringHelper $translatableStringHelper
) {}
) {
}
public function buildForm(FormBuilderInterface $builder, CustomField $customField)
{