From 916209e402df07e39e969b17f7fb202778dc0a7e Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Thu, 10 Jun 2021 15:11:03 +0200 Subject: [PATCH] Fix remarks MR - notif --- src/Bundle/ChillMainBundle/Entity/Notification.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Entity/Notification.php b/src/Bundle/ChillMainBundle/Entity/Notification.php index fd0a2acb8..76a4b1e4c 100644 --- a/src/Bundle/ChillMainBundle/Entity/Notification.php +++ b/src/Bundle/ChillMainBundle/Entity/Notification.php @@ -27,6 +27,7 @@ use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=NotificationRepository::class) + * @ORM\Table(name="chill_main_notification") */ class Notification { @@ -70,7 +71,7 @@ class Notification private $relatedEntityId; /** - * @ORM\Column(type="boolean") + * @ORM\Column(type="json") */ private $read; @@ -168,12 +169,12 @@ class Notification return $this; } - public function getRead(): ?bool + public function getRead(): array { return $this->read; } - public function setRead(bool $read): self + public function setRead(array $read): self { $this->read = $read;