From 30f12e61317d9b181efb46382a4db98d73f65954 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 8 May 2021 20:50:39 +0200 Subject: Autofixes by Psalm --- includes/concert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/concert.php') diff --git a/includes/concert.php b/includes/concert.php index f19a614..5c17933 100644 --- a/includes/concert.php +++ b/includes/concert.php @@ -54,7 +54,7 @@ if ( !class_exists('GiglogAdmin_Concert') ) { } } - public static function create($name, $venue, $date, $ticketlink, $eventlink): ?self + public static function create(string $name, $venue, string $date, string $ticketlink, string $eventlink): ?self { if ( GiglogAdmin_Concert::find($name, $venue, $date) ) { error_log( 'DUPLICATE ROW detected: ' -- cgit v1.2.3