Merge remote-tracking branch 'origin/master' into upgrade-sf5

This commit is contained in:
2024-04-04 18:45:01 +02:00
162 changed files with 3849 additions and 713 deletions

View File

@@ -112,7 +112,7 @@ class SingleTask extends AbstractTask
* message="An end date is required if a warning interval is set"
* )
*/
private \DateInterval|null $warningInterval = null;
private ?\DateInterval $warningInterval = null;
public function __construct()
{
@@ -122,7 +122,7 @@ class SingleTask extends AbstractTask
/**
* Get endDate.
*/
public function getEndDate(): \DateTime|null
public function getEndDate(): ?\DateTime
{
return $this->endDate;
}
@@ -184,7 +184,7 @@ class SingleTask extends AbstractTask
/**
* Get warningInterval.
*/
public function getWarningInterval(): \DateInterval|null
public function getWarningInterval(): ?\DateInterval
{
return $this->warningInterval;
}
@@ -234,7 +234,7 @@ class SingleTask extends AbstractTask
*
* @return SingleTask
*/
public function setWarningInterval(\DateInterval|null $warningInterval)
public function setWarningInterval(?\DateInterval $warningInterval)
{
$this->warningInterval = $warningInterval;