From 288ed04ccc30b58373576dc3be811aee43e67034 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 31 Mar 2023 08:23:39 +0200 Subject: PHPStan level 6 for all PDO and Exception classes (#5239) * PHPStan level 6 for all PDO and Exception classes Contributes to https://github.com/FreshRSS/FreshRSS/issues/4112 * Fix type * Now also our remaining own librairies * Motivation for a few more files * A few more DAO classes * Last interface --- lib/Minz/Helper.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Minz/Helper.php') diff --git a/lib/Minz/Helper.php b/lib/Minz/Helper.php index 2c011e1bf..3e09c4758 100644 --- a/lib/Minz/Helper.php +++ b/lib/Minz/Helper.php @@ -12,6 +12,8 @@ class Minz_Helper { /** * Wrapper for htmlspecialchars. * Force UTf-8 value and can be used on array too. + * @param string|array $var + * @return string|array */ public static function htmlspecialchars_utf8($var) { if (is_array($var)) { -- cgit v1.2.3