From 38bfa2d589691f1393f96ace34e2698e17fc3d3d Mon Sep 17 00:00:00 2001 From: ljm42 Date: Mon, 10 Feb 2025 11:45:20 -0700 Subject: [PATCH] fix: PHP Warning in state.php Implicitly marking parameter $subkey as nullable is deprecated --- emhttp/plugins/dynamix.my.servers/include/state.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix.my.servers/include/state.php b/emhttp/plugins/dynamix.my.servers/include/state.php index e4c70dd56..276788f4d 100644 --- a/emhttp/plugins/dynamix.my.servers/include/state.php +++ b/emhttp/plugins/dynamix.my.servers/include/state.php @@ -114,7 +114,7 @@ class ServerState /** * Retrieve the value of a webgui global setting. */ - public function getWebguiGlobal(string $key, string $subkey = null) { + public function getWebguiGlobal(string $key, ?string $subkey = null) { if (!$subkey) { return _var($this->webguiGlobals, $key, ''); }