summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-05-08 21:20:19 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-05-08 21:20:19 +0200
commit62a0a7e761c6be0c8824596f24e79ff28d3916e3 (patch)
tree19195cbe49b4ec18606fa9430ba444bacf4e4302
parent6de1a85c9cf1e14df2eed3550cb8307ab60cb8ff (diff)
downloadgigologadmin-62a0a7e761c6be0c8824596f24e79ff28d3916e3.tar.gz
gigologadmin-62a0a7e761c6be0c8824596f24e79ff28d3916e3.tar.bz2
gigologadmin-62a0a7e761c6be0c8824596f24e79ff28d3916e3.zip
Venue::venues_in_city wrong type annotation
-rw-r--r--includes/venue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/venue.php b/includes/venue.php
index 0df0a58..be61272 100644
--- a/includes/venue.php
+++ b/includes/venue.php
@@ -89,7 +89,7 @@ if ( !class_exists('GiglogAdmin_Venue') ) {
*
* @psalm-return array<array-key, self>
*/
- static function venues_in_city(bool $city): array
+ static function venues_in_city(string $city): array
{
global $wpdb;
$q = $wpdb->prepare(