From b94613f0493767ca78128bb86038648b6490e634 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Fri, 29 Nov 2024 18:38:49 +0200 Subject: [PATCH] Cleans up the phpdoc comments --- app/classes/config.php | 3 +++ app/classes/database.php | 2 +- app/classes/host.php | 2 +- app/classes/log.php | 2 +- app/classes/participant.php | 2 +- app/classes/platform.php | 2 +- app/classes/router.php | 2 +- app/classes/server.php | 3 ++- app/classes/user.php | 10 +++++++++- 9 files changed, 20 insertions(+), 8 deletions(-) diff --git a/app/classes/config.php b/app/classes/config.php index bcbf847..5eaa3c5 100644 --- a/app/classes/config.php +++ b/app/classes/config.php @@ -12,6 +12,7 @@ class Config { * * @param array $updatedConfig Key-value pairs of configuration options to update. * @param string $config_file Path to the configuration file. + * * @return mixed Returns true on success, or an error message on failure. */ public function editConfigFile($updatedConfig, $config_file) { @@ -55,6 +56,7 @@ class Config { * * @param string $jitsiUrl The base URL of the Jitsi server. * @param bool $raw Whether to return the full file (true) or only uncommented values (false). + * * @return string The content of the config.js file or an error message. */ public function getPlatformConfigjs($jitsiUrl, $raw = false) { @@ -103,6 +105,7 @@ class Config { * * @param string $jitsiUrl The base URL of the Jitsi server. * @param bool $raw Whether to return the full file (true) or only uncommented values (false). + * * @return string The content of the interface_config.js file or an error message. */ public function getPlatformInterfaceConfigjs($jitsiUrl, $raw = false) { diff --git a/app/classes/database.php b/app/classes/database.php index 1c0e314..a8f3355 100644 --- a/app/classes/database.php +++ b/app/classes/database.php @@ -1,7 +1,7 @@