mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
hotfix typo in NotificationComment
This commit is contained in:
parent
bdf4b71080
commit
5c4bef26e8
@ -63,6 +63,7 @@ class NotificationComment implements TrackCreationInterface, TrackUpdateInterfac
|
|||||||
private bool $recentlyPersisted = false;
|
private bool $recentlyPersisted = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* TODO typo in property (hotfixed)
|
||||||
* @ORM\Column(type="datetime_immutable", nullable=true)
|
* @ORM\Column(type="datetime_immutable", nullable=true)
|
||||||
*/
|
*/
|
||||||
private ?DateTimeImmutable $updateAt = null;
|
private ?DateTimeImmutable $updateAt = null;
|
||||||
@ -98,7 +99,7 @@ class NotificationComment implements TrackCreationInterface, TrackUpdateInterfac
|
|||||||
return $this->notification;
|
return $this->notification;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdateAt(): ?DateTimeImmutable
|
public function getUpdatedAt(): ?DateTimeImmutable
|
||||||
{
|
{
|
||||||
return $this->updateAt;
|
return $this->updateAt;
|
||||||
}
|
}
|
||||||
@ -165,11 +166,12 @@ class NotificationComment implements TrackCreationInterface, TrackUpdateInterfac
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated use @link{self::setUpdatedAt} instead
|
||||||
|
*/
|
||||||
public function setUpdateAt(?DateTimeImmutable $updateAt): self
|
public function setUpdateAt(?DateTimeImmutable $updateAt): self
|
||||||
{
|
{
|
||||||
$this->updateAt = $updateAt;
|
return $this->setUpdatedAt($updateAt);
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdatedAt(DateTimeInterface $datetime): self
|
public function setUpdatedAt(DateTimeInterface $datetime): self
|
||||||
|
Loading…
x
Reference in New Issue
Block a user