mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
Apply rector rules: add annotation for doctrine mapping
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user