fix small risky code

This commit is contained in:
2023-07-19 16:28:51 +02:00
parent 075aca493b
commit 6e6f19c499
4 changed files with 7 additions and 19 deletions

View File

@@ -55,14 +55,12 @@ class RecurringTask extends AbstractTask
private $occurenceFrequency;
/**
* @var dateinterval
*
* @ORM\Column(name="occurence_start_date", type="dateinterval")
*/
private $occurenceStartDate;
/**
* @var dateinterval
*
* @ORM\Column(name="occurence_warning_interval", type="dateinterval", nullable=true)
*/
@@ -126,7 +124,6 @@ class RecurringTask extends AbstractTask
/**
* Get occurenceStartDate.
*
* @return dateinterval
*/
public function getOccurenceStartDate()
{
@@ -136,7 +133,6 @@ class RecurringTask extends AbstractTask
/**
* Get occurenceWarningInterval.
*
* @return dateinterval
*/
public function getOccurenceWarningInterval()
{
@@ -188,7 +184,6 @@ class RecurringTask extends AbstractTask
/**
* Set occurenceStartDate.
*
* @param dateinterval $occurenceStartDate
*
* @return RecurringTask
*/
@@ -202,7 +197,6 @@ class RecurringTask extends AbstractTask
/**
* Set occurenceWarningInterval.
*
* @param dateinterval $occurenceWarningInterval
*
* @return RecurringTask
*/