summaryrefslogtreecommitdiff
path: root/src/web/helpers/lang.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-12-11 17:13:43 -0500
committerFreya Murphy <freya@freyacat.org>2024-12-11 17:13:43 -0500
commitf598bc58adb484460cebffc7e0ae7dfa6cd35ffd (patch)
tree481cba8174a7a057072c8f26afd24913c40319e5 /src/web/helpers/lang.php
parentupdate third party libraries (diff)
downloadwebsite-f598bc58adb484460cebffc7e0ae7dfa6cd35ffd.tar.gz
website-f598bc58adb484460cebffc7e0ae7dfa6cd35ffd.tar.bz2
website-f598bc58adb484460cebffc7e0ae7dfa6cd35ffd.zip
fix PHP 8.4 depricated warnings
Diffstat (limited to '')
-rw-r--r--src/web/helpers/lang.php8
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,