diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-11 17:13:43 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-11 17:13:43 -0500 |
commit | f598bc58adb484460cebffc7e0ae7dfa6cd35ffd (patch) | |
tree | 481cba8174a7a057072c8f26afd24913c40319e5 /src | |
parent | update third party libraries (diff) | |
download | website-f598bc58adb484460cebffc7e0ae7dfa6cd35ffd.tar.gz website-f598bc58adb484460cebffc7e0ae7dfa6cd35ffd.tar.bz2 website-f598bc58adb484460cebffc7e0ae7dfa6cd35ffd.zip |
fix PHP 8.4 depricated warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/web/helpers/lang.php | 8 |
1 files 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, |