summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/inc/ppd.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 /modules-available/sysconfig/inc/ppd.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 'modules-available/sysconfig/inc/ppd.inc.php')
-rw-r--r--modules-available/sysconfig/inc/ppd.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/sysconfig/inc/ppd.inc.php b/modules-available/sysconfig/inc/ppd.inc.php
index c28e0355..a7fc7acb 100644
--- a/modules-available/sysconfig/inc/ppd.inc.php
+++ b/modules-available/sysconfig/inc/ppd.inc.php
@@ -866,7 +866,7 @@ class Ppd
return $this->error === null;
}
- public function addEmptyOption(string $settingName, string $option, string $translation = null, bool $prepend = true): bool
+ public function addEmptyOption(string $settingName, string $option, ?string $translation = null, ?bool $prepend = true): bool
{
if (!isset($this->settings[$settingName]))
return false;