summaryrefslogtreecommitdiffstats
path: root/modules-available/webinterface
diff options
context:
space:
mode:
authorSimon Rettberg2023-11-14 14:47:55 +0100
committerSimon Rettberg2023-11-14 14:47:55 +0100
commit06bff0b9b84d47c43f9bc8aff06a29d85ebb7ed0 (patch)
tree7e5493b102074672d8cfd8fe1a61e49f080edbe8 /modules-available/webinterface
parentUpdate phpstorm config (diff)
downloadslx-admin-06bff0b9b84d47c43f9bc8aff06a29d85ebb7ed0.tar.gz
slx-admin-06bff0b9b84d47c43f9bc8aff06a29d85ebb7ed0.tar.xz
slx-admin-06bff0b9b84d47c43f9bc8aff06a29d85ebb7ed0.zip
Add function param/return types, fix a lot more phpstorm complaints
Diffstat (limited to 'modules-available/webinterface')
-rw-r--r--modules-available/webinterface/baseconfig/getconfig.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules-available/webinterface/baseconfig/getconfig.inc.php b/modules-available/webinterface/baseconfig/getconfig.inc.php
index 1bc5c1e3..53a5993c 100644
--- a/modules-available/webinterface/baseconfig/getconfig.inc.php
+++ b/modules-available/webinterface/baseconfig/getconfig.inc.php
@@ -1,5 +1,8 @@
<?php
+/** @var ?string $uuid */
+/** @var ?string $ip */
+
$file = '/opt/openslx/configs/modules/self-signed-ca.tar';
if (is_file($file) && is_readable($file)) {
ConfigHolder::add('SLX_REMOTE_SSL', $_SERVER['SERVER_ADDR']);