Revert "Merge branch 'signature-app/wp-576-restorestored-object-version' into 'master'"

This reverts merge request !586
This commit is contained in:
2024-09-19 13:26:12 +00:00
parent 671bb6d593
commit e4d0705e84
1701 changed files with 14541 additions and 35017 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)
{