summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/concert.php2
-rw-r--r--includes/venue.php10
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.