From b27899aa73e77bf3c5a0ac99eeb01695760b3284 Mon Sep 17 00:00:00 2001 From: PaulCombal Date: Fri, 1 Mar 2019 16:03:41 +0100 Subject: [PATCH] auto --- NotificationsBundle/Entity/Notification.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NotificationsBundle/Entity/Notification.php b/NotificationsBundle/Entity/Notification.php index 50edac1..d654217 100644 --- a/NotificationsBundle/Entity/Notification.php +++ b/NotificationsBundle/Entity/Notification.php @@ -19,17 +19,17 @@ class Notification /** * @ORM\Column(type="string", length=191) */ - private $title; + private $title = ""; /** * @ORM\Column(type="string", length=191) */ - private $data; + private $data = ""; /** * @ORM\Column(type="string", length=191) */ - private $description; + private $description = ""; /** * @ORM\ManyToOne(targetEntity="\App\Entity\User") @@ -37,12 +37,12 @@ class Notification private $user; /** - * @ORM\Column(type="datetime") + * @ORM\Column(type="datetime", nullable=true) */ private $deleted_at; /** - * @ORM\Column(type="datetime") + * @ORM\Column(type="datetime", nullable=true) */ private $seen_at;