Skip to content

Commit

Permalink
PHP 8.4: Implicitly nullable parameter declarations deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
MioVisman committed Jul 24, 2024
1 parent 89ffe3e commit 2ad4d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ function message(string $message, bool $no_back_link = false, ?string $http_stat
//
// Format a time string according to $time_format and time zones
//
function format_time($timestamp, bool $date_only = false, ?string $date_format = null, ?string $time_format = null, bool $time_only = false, bool $no_text = false, array $user = null)
function format_time($timestamp, bool $date_only = false, ?string $date_format = null, ?string $time_format = null, bool $time_only = false, bool $no_text = false, ?array $user = null)
{
global $lang_common, $pun_user, $forum_date_formats, $forum_time_formats;

Expand Down

0 comments on commit 2ad4d82

Please sign in to comment.