diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2022-06-18 21:01:36 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2022-06-18 21:01:36 +0200 |
commit | c81ced91d25f24b8340187364404a325f7dab30a (patch) | |
tree | 4fb24cb4d89f14ff7af2e857963ede73aa0c9e79 /includes/venue.php | |
parent | 75fce31f5345a54082ad241735873c178bf9d785 (diff) | |
download | gigologadmin-c81ced91d25f24b8340187364404a325f7dab30a.tar.gz gigologadmin-c81ced91d25f24b8340187364404a325f7dab30a.tar.bz2 gigologadmin-c81ced91d25f24b8340187364404a325f7dab30a.zip |
Get rid of a few deprecation warning.
I think the remaining deprecation warnings now are from WordPress
itself.
Diffstat (limited to 'includes/venue.php')
-rw-r--r-- | includes/venue.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/venue.php b/includes/venue.php index b6f9956..a436f91 100644 --- a/includes/venue.php +++ b/includes/venue.php @@ -152,15 +152,15 @@ if ( ! class_exists( 'GiglogAdmin_Venue' ) ) { $this->id = $wpdb->insert_id; } - public function id() { + public function id() : int { return $this->id; } - public function name() { + public function name() : string { return $this->name; } - public function city() { + public function city() : string { return $this->city; } } |