@@ -43,7 +43,7 @@ class SubscriberList implements DomainModel, Identity, CreationDate, Modificatio
4343 private ?string $ rssFeed = null ;
4444
4545 #[ORM \Column]
46- private ?string $ description ;
46+ private ?string $ description = '' ;
4747
4848 #[ORM \Column(name: 'entered ' , type: 'datetime ' , nullable: true )]
4949 protected ?DateTime $ createdAt = null ;
@@ -61,7 +61,7 @@ class SubscriberList implements DomainModel, Identity, CreationDate, Modificatio
6161 private bool $ public ;
6262
6363 #[ORM \Column]
64- private string $ category ;
64+ private ? string $ category = '' ;
6565
6666 #[ORM \ManyToOne(targetEntity: Administrator::class)]
6767 #[ORM \JoinColumn(name: 'owner ' )]
@@ -145,7 +145,7 @@ public function getSubjectPrefix(): ?string
145145 return $ this ->subjectPrefix ;
146146 }
147147
148- public function setSubjectPrefix (string $ subjectPrefix ): self
148+ public function setSubjectPrefix (? string $ subjectPrefix ): self
149149 {
150150 $ this ->subjectPrefix = $ subjectPrefix ;
151151
@@ -163,12 +163,12 @@ public function setPublic(bool $public): self
163163 return $ this ;
164164 }
165165
166- public function getCategory (): string
166+ public function getCategory (): ? string
167167 {
168168 return $ this ->category ;
169169 }
170170
171- public function setCategory (string $ category ): self
171+ public function setCategory (? string $ category ): self
172172 {
173173 $ this ->category = $ category ;
174174 return $ this ;
0 commit comments