upgrade php-cs 3.49

This commit is contained in:
2024-02-07 10:43:53 +01:00
parent 51ebc253aa
commit 036fe8d6f8
257 changed files with 605 additions and 605 deletions

View File

@@ -189,7 +189,7 @@ abstract class AbstractTask implements HasCenterInterface, HasScopeInterface
return $this->closed;
}
public function setAssignee(User $assignee = null)
public function setAssignee(?User $assignee = null)
{
$this->assignee = $assignee;

View File

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