From 62a0a7e761c6be0c8824596f24e79ff28d3916e3 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 8 May 2021 21:20:19 +0200 Subject: Venue::venues_in_city wrong type annotation --- includes/venue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ - static function venues_in_city(bool $city): array + static function venues_in_city(string $city): array { global $wpdb; $q = $wpdb->prepare( -- cgit v1.2.3