use statements added and typehint updatedAt fixed

This commit is contained in:
Julie Lenaerts 2021-08-03 16:49:51 +02:00
parent 3e498c34e5
commit fadf2d62b0

View File

@ -9,7 +9,7 @@ use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity
* @Table(schema="chill_asideactivity")
* @ORM\Table(schema="chill_asideactivity")
*/
final class AsideActivity implements TrackUpdateInterface, TrackCreationInterface
{
@ -132,7 +132,7 @@ final class AsideActivity implements TrackUpdateInterface, TrackCreationInterfac
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeImmutable $updatedAt): self
public function setUpdatedAt(\DateTimeInterface $updatedAt): self
{
$this->updatedAt = $updatedAt;