diff --git a/psalm.xml b/psalm.xml index 5bba1f03..98d2a1b8 100644 --- a/psalm.xml +++ b/psalm.xml @@ -9,6 +9,7 @@ + diff --git a/public/upgrade.php b/public/upgrade.php index 27c12b19..87f5c9a2 100644 --- a/public/upgrade.php +++ b/public/upgrade.php @@ -337,7 +337,11 @@ function db_query_parsed($sql, $ignore_errors = 0, $attach_mysql = "") { echo_out("
" . $result['error'] . "
"); } } - +/** + * @param string $table + * @param string $index + * @return string + */ function _drop_index($table, $index) { global $CONF; $table = table_by_key($table); @@ -352,6 +356,12 @@ function _drop_index($table, $index) { } } +/** + * @return string + * @param string $table + * @param string $indexname + * @param string $fieldlist + */ function _add_index($table, $indexname, $fieldlist) { global $CONF; $table = table_by_key($table);