Skip to content

Commit

Permalink
Fix deprecated implicit marking of parameters as nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Jul 5, 2024
1 parent bdb2107 commit e978bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/mrbs_sql.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit e978bea

Please sign in to comment.