From f598bc58adb484460cebffc7e0ae7dfa6cd35ffd Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 11 Dec 2024 17:13:43 -0500 Subject: [PATCH] fix PHP 8.4 depricated warnings --- src/web/helpers/lang.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/web/helpers/lang.php b/src/web/helpers/lang.php index ba7616e..72167fc 100644 --- a/src/web/helpers/lang.php +++ b/src/web/helpers/lang.php @@ -29,10 +29,10 @@ function lang( */ function ilang( string $key, - string $class = NULL, - string $id = NULL, - string $href = NULL, - string $click = NULL, + ?string $class = NULL, + ?string $id = NULL, + ?string $href = NULL, + ?string $click = NULL, array $attrs = array(), ?array $sub = NULL, bool $button = FALSE,