N°8772 - cleanup code

This commit is contained in:
Eric Espie
2025-10-30 14:24:09 +01:00
parent 601cde0e2d
commit 0df54413b3
23 changed files with 183 additions and 150 deletions

View File

@@ -22,13 +22,13 @@ class CollectionBlock extends AbstractFormBlock
}
/** @inheritdoc */
/** @inheritdoc */
public function GetFormType(): string
{
return CollectionType::class;
}
/** @inheritdoc */
/** @inheritdoc */
public function InitOptions(): array
{
$sBlockEntryType = $this->GetOptions()['block_entry_type'];
@@ -39,7 +39,7 @@ class CollectionBlock extends AbstractFormBlock
$oBlock = new ($sBlockEntryType)('prototype', $sBlockEntryOptions);
return [
'entry_type' => $oBlock->GetFormType()
'entry_type' => $oBlock->GetFormType(),
];
}