Initialized typed nullable props as null in all entities

This commit is contained in:
Alejandro Celaya
2020-03-21 14:38:24 +01:00
parent 75b8ed813f
commit d2c06dd0ab
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ class ShortUrl extends AbstractEntity
private ?Chronos $validSince = null;
private ?Chronos $validUntil = null;
private ?int $maxVisits = null;
private ?Domain $domain;
private ?Domain $domain = null;
private bool $customSlugWasProvided;
private int $shortCodeLength;