diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-26 14:26:58 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-01-26 14:26:58 +0100 |
commit | e3a12b348206adcfbfb0fbc8435ba91240ac2b0a (patch) | |
tree | a95db61139c9399dd51c10bed7faaeee42919c30 /lib/public | |
parent | a145edd00db95135bee6f584e21301267fb5ac16 (diff) | |
download | nextcloud-server-e3a12b348206adcfbfb0fbc8435ba91240ac2b0a.tar.gz nextcloud-server-e3a12b348206adcfbfb0fbc8435ba91240ac2b0a.zip |
Fix psalm issues in theming app
After this change, we are down to only one psalm warning for this app
and related to the Application.php. This also make composer
psam:update-baseline not silently ignore new errors.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php index f8d8b1aaf71..b839318303a 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -435,8 +435,8 @@ class Util { * This function is used to sanitize HTML and should be applied on any * string or array of strings before displaying it on a web page. * - * @param string|array $value - * @return string|array an array of sanitized strings or a single sanitized string, depends on the input parameter. + * @param string|string[] $value + * @return string|string[] an array of sanitized strings or a single sanitized string, depends on the input parameter. * @since 4.5.0 */ public static function sanitizeHTML($value) { |