summaryrefslogtreecommitdiffstats
path: root/inc/dictionary.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2025-08-01 13:41:49 +0200
committerSimon Rettberg2025-08-01 13:41:49 +0200
commit429cfb1677ec77c5a945f655d9405d038d3e5a2c (patch)
treeb3fbb729cb2231f4163b96a67046ad878f48d1b4 /inc/dictionary.inc.php
parent[minilinux] show -> action for POST actions (diff)
downloadslx-admin-429cfb1677ec77c5a945f655d9405d038d3e5a2c.tar.gz
slx-admin-429cfb1677ec77c5a945f655d9405d038d3e5a2c.tar.xz
slx-admin-429cfb1677ec77c5a945f655d9405d038d3e5a2c.zip
Implicitly nullable types are deprecated in PHP 8.3, make explicit
Diffstat (limited to 'inc/dictionary.inc.php')
-rw-r--r--inc/dictionary.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/dictionary.inc.php b/inc/dictionary.inc.php
index f95cb384..c1c14e59 100644
--- a/inc/dictionary.inc.php
+++ b/inc/dictionary.inc.php
@@ -265,7 +265,7 @@ class Dictionary
* @param $langCC ?string Language cc to get flag code for - defaults to current language
* @return string html code of img tag for language
*/
- public static function getFlagHtml(bool $caption = false, string $langCC = null): string
+ public static function getFlagHtml(bool $caption = false, ?string $langCC = null): string
{
if ($langCC === null) {
$langCC = LANG;