From: Raphaƫl Gertz Date: Fri, 8 Mar 2024 03:07:20 +0000 (+0100) Subject: Fix zipcode default value to match form input type X-Git-Tag: 0.4.0~9 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/f2b9304f79c3dfbf8314d1f96762c628b790a87a?hp=8af69ac700a76d252d0c2beceaeee29b41f5d483 Fix zipcode default value to match form input type --- diff --git a/Entity/Location.php b/Entity/Location.php index 62ef9fc..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 string $latitude = '0', private string $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');