diff options
| author | Simon Rettberg | 2025-08-01 13:41:49 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2025-08-01 13:41:49 +0200 |
| commit | 429cfb1677ec77c5a945f655d9405d038d3e5a2c (patch) | |
| tree | b3fbb729cb2231f4163b96a67046ad878f48d1b4 /modules-available/serversetup-bwlp-ipxe | |
| parent | [minilinux] show -> action for POST actions (diff) | |
| download | slx-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/serversetup-bwlp-ipxe')
| -rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/scriptbuildergrub.inc.php | 2 | ||||
| -rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/scriptbuildergrub.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/scriptbuildergrub.inc.php index a02c5180..cb7655d5 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/scriptbuildergrub.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/scriptbuildergrub.inc.php @@ -109,7 +109,7 @@ EOF; /** * Redirect to same URL, but add our extended params */ - private function redirect(string $key = null, string $value = null): string + private function redirect(?string $key = null, ?string $value = null): string { // Redirect to self with added parameters $urlfull = $this->getUrlFull($key, $value); diff --git a/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php index 9421684f..ff01c388 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/scriptbuilderipxe.inc.php @@ -58,7 +58,7 @@ class ScriptBuilderIpxe extends ScriptBuilderBase /** * Redirect to same URL, but add our extended params */ - private function redirect(string $key = null, string $value = null): string + private function redirect(?string $key = null, ?string $value = null): string { // Redirect to self with added parameters $urlfull = $this->getUrlFull($hasExt, $key, $value); |
