From ba1eecf5b459eed9ebb1134062f9b5c969031302 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 7 Feb 2025 17:02:53 +0100 Subject: [PATCH] Code Documentation --- include/lib/database_core.class.php | 2 +- include/lib/http_input.class.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/lib/database_core.class.php b/include/lib/database_core.class.php index 6cd6f30f2..98fa145af 100644 --- a/include/lib/database_core.class.php +++ b/include/lib/database_core.class.php @@ -35,7 +35,7 @@ require_once NOALYSS_INCLUDE . '/lib/ac_common.php'; class DatabaseCore { - private $db; + protected $db; /**< database connection */ private $ret; /**< return value */ diff --git a/include/lib/http_input.class.php b/include/lib/http_input.class.php index 894095439..5dd16a636 100644 --- a/include/lib/http_input.class.php +++ b/include/lib/http_input.class.php @@ -187,9 +187,9 @@ class HttpInput /** * @brief Retrieve from $_GET - * @param $p_name name of the variable - * @param $p_type type of the variable , opt. default string - * @param $p_default default value is variable is not set + * @param $p_name string of the variable + * @param $p_type string of the variable , opt. default string + * @param $p_default mixed default value is variable is not set * @throws Exception if invalid */ function get($p_name, $p_type="string", $p_default="")