diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-09-02 09:20:44 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-09-02 09:20:44 +0200 |
commit | 52980d074809a18d150a88313ab86054870c416e (patch) | |
tree | 8c5672177f4fabce9741a23bd5f959bcf4df0246 /includes | |
parent | 3668e685566bed2d3623a3cd276d93f79319a008 (diff) | |
download | gigologadmin-52980d074809a18d150a88313ab86054870c416e.tar.gz gigologadmin-52980d074809a18d150a88313ab86054870c416e.tar.bz2 gigologadmin-52980d074809a18d150a88313ab86054870c416e.zip |
Fix more type issues in Concert and Venue classes
Diffstat (limited to 'includes')
-rw-r--r-- | includes/concert.php | 2 | ||||
-rw-r--r-- | includes/venue.php | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/includes/concert.php b/includes/concert.php index cc1efaa..f2f5535 100644 --- a/includes/concert.php +++ b/includes/concert.php @@ -12,7 +12,7 @@ if ( !class_exists('GiglogAdmin_Concert') ) { class GiglogAdmin_Concert { - private int $id; + private ?int $id; private string $cname; private ?GiglogAdmin_Venue $venue; private string $cdate; diff --git a/includes/venue.php b/includes/venue.php index 6de14c6..541680f 100644 --- a/includes/venue.php +++ b/includes/venue.php @@ -7,11 +7,11 @@ if ( !class_exists('GiglogAdmin_Venue') ) { class GiglogAdmin_Venue { - private int $id; - private string $name; - private string $city; - private string $address; - private string $webpage; + private ?int $id; + private ?string $name; + private ?string $city; + private ?string $address; + private ?string $webpage; /* * Constructs a new venue object from an array of attributes. |