Release 2.48 (#5789)
This commit is contained in:
@@ -13,7 +13,12 @@ final class DayAddon
|
||||
{
|
||||
private bool $billable = true;
|
||||
|
||||
public function __construct(private string $title, private int $duration, private int $visibleDuration)
|
||||
public function __construct(
|
||||
private readonly string $title,
|
||||
private readonly int $duration,
|
||||
private readonly int $visibleDuration,
|
||||
private readonly ?string $type = null
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -41,4 +46,9 @@ final class DayAddon
|
||||
{
|
||||
return $this->visibleDuration;
|
||||
}
|
||||
|
||||
public function getType(): ?string
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user