From de00a095387499cdb5c8eb9c0ab721d67bd0b3fa Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 26 Mar 2024 16:38:05 +0000 Subject: Make implicit nullable parameters explicitly nullable. This is to address a deprecation planned for PHP 8.4. https://wiki.php.net/rfc/deprecate-implicitly-nullable-types --- include/controls.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/controls.php') diff --git a/include/controls.php b/include/controls.php index 2fa797dbc..b2e71d174 100755 --- a/include/controls.php +++ b/include/controls.php @@ -155,8 +155,8 @@ /** * @param array $attributes */ - function select_feeds_cats(string $name, int $default_id = null, array $attributes = [], - bool $include_all_cats = true, string $root_id = null, int $nest_level = 0, string $id = ""): string { + function select_feeds_cats(string $name, ?int $default_id = null, array $attributes = [], + bool $include_all_cats = true, ?string $root_id = null, int $nest_level = 0, string $id = ""): string { $ret = ""; -- cgit v1.2.3-54-g00ecf