Skip to content

Commit 2c250cc

Browse files
authored
Merge pull request #52 from maximehuran/feature/fix-nullable
2 parents 719711b + 8d3a14d commit 2c250cc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Entity/HomepageTranslation.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717

1818
class HomepageTranslation extends AbstractTranslation implements HomepageTranslationInterface
1919
{
20-
protected int $id;
20+
protected ?int $id = null;
2121

22-
protected ?string $name;
22+
protected ?string $name = null;
2323

24-
protected ?string $content;
24+
protected ?string $content = null;
2525

26-
protected ?string $metaTitle;
26+
protected ?string $metaTitle = null;
2727

28-
protected ?string $metaKeywords;
28+
protected ?string $metaKeywords = null;
2929

30-
protected ?string $metaDescription;
30+
protected ?string $metaDescription = null;
3131

32-
protected ?string $metaImage;
32+
protected ?string $metaImage = null;
3333

3434
public function getId(): ?int
3535
{

0 commit comments

Comments
 (0)