X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/7c929ed199ece6713e03b943415cbf5b3f68e254..36367b3d9770a29f2e516e40524c5d4eef8a9aca:/Entity/Location.php diff --git a/Entity/Location.php b/Entity/Location.php index f0e1a17..d70bddf 100644 --- a/Entity/Location.php +++ b/Entity/Location.php @@ -57,7 +57,7 @@ class Location { /** * Constructor */ - public function __construct(private string $title = '', private string $address = '', private string $zipcode = '', private string $city = '', private float $latitude = 0, private float $longitude = 0, private bool $hotspot = false, private bool $indoor = false) { + public function __construct(private string $title = '', private string $address = '', private string $zipcode = '0', private string $city = '', private string $latitude = '0', private string $longitude = '0', private bool $hotspot = false, private bool $indoor = false) { //Set defaults $this->created = new \DateTime('now'); $this->updated = new \DateTime('now');