diff --git a/Classes/Definition/FlexForm/FlexFormDefinition.php b/Classes/Definition/FlexForm/FlexFormDefinition.php index 39d10a52..506c2fd8 100644 --- a/Classes/Definition/FlexForm/FlexFormDefinition.php +++ b/Classes/Definition/FlexForm/FlexFormDefinition.php @@ -23,7 +23,7 @@ final class FlexFormDefinition implements \IteratorAggregate { private string $contentBlockName = ''; - private string $typeName = ''; + private string|int $typeName = ''; /** * @return \Iterator @@ -43,12 +43,12 @@ public function addSheet(SheetDefinition $sheet): void $this->sheets[] = $sheet; } - public function getTypeName(): string + public function getTypeName(): string|int { return $this->typeName; } - public function setTypeName(string $typeName): void + public function setTypeName(string|int $typeName): void { $this->typeName = $typeName; }