diff options
| author | 2025-03-15 11:58:48 +0100 | |
|---|---|---|
| committer | 2025-03-15 11:58:48 +0100 | |
| commit | 68cb248bd5800420b9091fce302f31428ca6459b (patch) | |
| tree | cc5a0f3a83dec9478bf13667324fcd740d53714c /lib | |
| parent | a607407f4b71eb29887fa1c95aa6d0aaf7917e22 (diff) | |
Update PHPStan 2.1.8 (#7431)
Fixing minor breaking changes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/Helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Helper.php b/lib/Minz/Helper.php index 91c1bdc00..61641f09f 100644 --- a/lib/Minz/Helper.php +++ b/lib/Minz/Helper.php @@ -21,7 +21,7 @@ final class Minz_Helper { */ public static function htmlspecialchars_utf8(mixed $var): mixed { if (is_array($var)) { - // @phpstan-ignore argument.type, return.type + // @phpstan-ignore return.type return array_map([self::class, 'htmlspecialchars_utf8'], $var); } elseif (is_string($var)) { // @phpstan-ignore return.type |
