mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
upgrade php-cs 3.49
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user