refactoring

This commit is contained in:
Roland Gruber 2025-07-14 07:42:55 +02:00
parent cdbc63a9b0
commit c1b96b47f5
3 changed files with 4 additions and 4 deletions

View file

@ -2743,7 +2743,7 @@ class htmlSpacer extends htmlElement {
/**
* Constructor.
*
* @param string $width width (e.g. 10px)
* @param string|null $width width (e.g. 10px)
* @param string|null $height height (e.g. 10px)
* @param array|null $cssClasses CSS classes
*/

View file

@ -678,11 +678,11 @@ function getRequiredExtensions() {
* The modules are not allowed to display HTML code directly but return
* meta HTML code. This allows to have a common design for all module pages.
*
* @param string $module Name of account module
* @param string|null $module Name of account module
* @param htmlElement|htmlElement[] $input htmlElement or array of htmlElement elements
* @param array $values List of values which override the defaults in $input (name => value)
* @param boolean $restricted If true then no buttons will be displayed
* @param string $scope Account type
* @param string|null $scope Account type
* @return array List of input field names and their type (name => type)
*/
function parseHtml($module, $input, $values, $restricted, $scope) {

View file

@ -262,7 +262,7 @@ function isDebugLoggingEnabled() {
/**
* Puts a new message in the log file.
*
* @param string $level log level (LOG_DEBUG, LOG_NOTICE, LOG_WARNING, LOG_ERR)
* @param int $level log level (LOG_DEBUG, LOG_NOTICE, LOG_WARNING, LOG_ERR)
* @param string $message log message
*/
function logNewMessage($level, $message): void {