Rector changes + namespace changes

This commit is contained in:
2024-04-23 17:43:23 +02:00
parent 63fe8070c4
commit ed3e0f889e
116 changed files with 816 additions and 831 deletions

View File

@@ -116,7 +116,7 @@ class RecurringTask extends AbstractTask
*
* @return RecurringTask
*/
public function setFirstOccurenceEndDate($firstOccurenceEndDate)
public function setFirstOccurenceEndDate(?\DateTime $firstOccurenceEndDate)
{
$this->firstOccurenceEndDate = $firstOccurenceEndDate;
@@ -130,7 +130,7 @@ class RecurringTask extends AbstractTask
*
* @return RecurringTask
*/
public function setLastOccurenceEndDate($lastOccurenceEndDate)
public function setLastOccurenceEndDate(?\DateTime $lastOccurenceEndDate)
{
$this->lastOccurenceEndDate = $lastOccurenceEndDate;
@@ -144,7 +144,7 @@ class RecurringTask extends AbstractTask
*
* @return RecurringTask
*/
public function setOccurenceFrequency($occurenceFrequency)
public function setOccurenceFrequency(?string $occurenceFrequency)
{
$this->occurenceFrequency = $occurenceFrequency;

View File

@@ -140,7 +140,7 @@ class SingleTask extends AbstractTask
*
* @return SingleTask
*/
public function setEndDate($endDate)
public function setEndDate(?\DateTime $endDate)
{
$this->endDate = $endDate;
@@ -159,7 +159,7 @@ class SingleTask extends AbstractTask
*
* @return SingleTask
*/
public function setStartDate($startDate)
public function setStartDate(?\DateTime $startDate)
{
$this->startDate = $startDate;

View File

@@ -105,11 +105,10 @@ class AbstractTaskPlaceEvent
/**
* Set transition.
*
* @param string $transition
*
* @return AbstractTaskPlaceEvent
*/
public function setTransition($transition)
public function setTransition(string $transition)
{
$this->transition = $transition;