Apply rector rules: add annotation for doctrine mapping

This commit is contained in:
2024-04-05 13:11:42 +02:00
parent a3f775a69b
commit 0ff4593863
118 changed files with 143 additions and 658 deletions

View File

@@ -55,10 +55,8 @@ class AbstractTaskPlaceEvent
/**
* Get datetime.
*
* @return datetime_immutable
*/
public function getDatetime()
public function getDatetime(): \DateTimeImmutable
{
return $this->datetime;
}
@@ -95,11 +93,9 @@ class AbstractTaskPlaceEvent
/**
* Set datetime.
*
* @param datetime_immutable $datetime
*
* @return AbstractTaskPlaceEvent
*/
public function setDatetime($datetime)
public function setDatetime(\DateTimeImmutable $datetime)
{
$this->datetime = $datetime;