]> Raphaël G. Git Repositories - airbundle/commitdiff
Fix zipcode default value to match form input type
authorRaphaël Gertz <git@rapsys.eu>
Fri, 8 Mar 2024 03:07:20 +0000 (04:07 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 8 Mar 2024 03:07:20 +0000 (04:07 +0100)
Entity/Location.php

index 62ef9fc60bdae7ec8686cd4310a3021f2b79d43b..d70bddf5694320a19d487fbe55d465fd9756d7e7 100644 (file)
@@ -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');