Skip to content

Commit

Permalink
[BUGFIX] Allow int for FlexForm typeName
Browse files Browse the repository at this point in the history
Fixes: #143
  • Loading branch information
nhovratov committed Mar 5, 2024
1 parent 9ebf120 commit f02cfb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Definition/FlexForm/FlexFormDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
final class FlexFormDefinition implements \IteratorAggregate
{
private string $contentBlockName = '';
private string $typeName = '';
private string|int $typeName = '';

/**
* @return \Iterator<SheetDefinition>
Expand All @@ -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;
}
Expand Down

0 comments on commit f02cfb5

Please sign in to comment.