Fixed phpstan issues

This commit is contained in:
Jan Böhmer 2026-04-15 23:27:10 +02:00
parent 1c3dfa26bb
commit ec05f9d8ab
2 changed files with 7 additions and 1 deletions

View file

@ -189,7 +189,7 @@ class SiValueSort extends FunctionNode
return $number;
}
$multiplier = self::SI_MULTIPLIERS[$prefix] ?? 1.0;
$multiplier = self::SI_MULTIPLIERS[$prefix] ?? 1.0; //@phpstan-ignore-line - fallback to 1.0 if prefix is not recognized (should not happen due to regex)
return $number * $multiplier;
}