From e978bea17df176b7faec7694faf5e8a247420a69 Mon Sep 17 00:00:00 2001 From: campbell-m <87438215+campbell-m@users.noreply.github.com> Date: Fri, 5 Jul 2024 18:04:48 +0100 Subject: [PATCH] Fix deprecated implicit marking of parameters as nullable --- web/mrbs_sql.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/mrbs_sql.inc b/web/mrbs_sql.inc index b3a3f83a14..5bd58ae784 100644 --- a/web/mrbs_sql.inc +++ b/web/mrbs_sql.inc @@ -907,7 +907,7 @@ function get_n_entries_by_room(int $room_id) : int // DESC if $desc is TRUE. If $limit is set then only $limit entries are returned. // Returns an array of entries. Each element of the array is itself an array with keys // corresponding to the entry table columns -function get_entries_by_room(int $room_id, ?int $interval_start, ?int $interval_end, bool $desc=false, int $limit=null) : array +function get_entries_by_room(int $room_id, ?int $interval_start, ?int $interval_end, bool $desc=false, ?int $limit=null) : array { $sql_params = [':room_id' => $room_id];