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