mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°8772 - cleanup code
This commit is contained in:
@@ -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(),
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user