From 2ff953ef895fc2636b7dc9c86609c6289d67e535 Mon Sep 17 00:00:00 2001 From: Thomas Rupprecht Date: Mon, 6 Feb 2023 19:35:02 +0100 Subject: [PATCH] fix php docs types --- includes/sys_form.php | 10 +++++----- includes/sys_page.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/sys_form.php b/includes/sys_form.php index ddcd4ab4..2ef208a5 100644 --- a/includes/sys_form.php +++ b/includes/sys_form.php @@ -235,10 +235,10 @@ function form_text($name, $label, $value, $disabled = false, $maxlength = null, /** * Renders a text input with placeholder instead of label. * - * @param String $name Input name - * @param String $placeholder Placeholder - * @param String $value The value - * @param Boolean $disabled Is the field enabled? + * @param string $name Input name + * @param string $placeholder Placeholder + * @param string $value The value + * @param boolean $disabled Is the field enabled? * @return string */ function form_text_placeholder($name, $placeholder, $value, $disabled = false) @@ -429,7 +429,7 @@ function form_csrf() /** * @param string $name - * @param String[] $options + * @param string[] $options * @param string $selected * @return string */ diff --git a/includes/sys_page.php b/includes/sys_page.php index b5760104..9909b697 100644 --- a/includes/sys_page.php +++ b/includes/sys_page.php @@ -66,7 +66,7 @@ function throw_redirect($url) /** * Echoes given output and dies. * - * @param String $output String to display + * @param string $output String to display */ function raw_output($output = '') {