diff options
| author | wn_ <invalid@email.com> | 2024-11-12 03:15:53 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2024-11-12 03:15:53 +0000 |
| commit | a784305cc764a7e039ad87074f541db68a653a5a (patch) | |
| tree | 508c428e11d5559c3c25ad01ffe1ba474f7da270 /include/functions.php | |
| parent | e4c57769e005e75b80ec0fa206fed8ff69e58162 (diff) | |
Address PHPStan findings as of 2.0.1
Diffstat (limited to 'include/functions.php')
| -rw-r--r-- | include/functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index c32924743..a79a19711 100644 --- a/include/functions.php +++ b/include/functions.php @@ -123,6 +123,7 @@ // create a list like "en" => 0.8 $langs = array_combine($lang_parse[1], $lang_parse[4]); + /** @phpstan-ignore function.alreadyNarrowedType (PHP 7.4 will return false if array_value has an issue) */ if (is_array($langs)) { // set default to 1 for any without q factor foreach ($langs as $lang => $val) { |