add accompanying period opening/closing to global timeline

This commit is contained in:
2021-05-17 13:24:50 +02:00
parent 73653744d7
commit ea477a9842
10 changed files with 155 additions and 67 deletions

View File

@@ -302,13 +302,9 @@ class AccompanyingPeriod
return false;
}
public function setRemark(string $remark): self
public function setRemark(string $remark = null): self
{
if ($remark === null) {
$remark = '';
}
$this->remark = $remark;
$this->remark = (string) $remark;
return $this;
}