mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-07 21:59:37 +00:00
Fixed phpstan issues
This commit is contained in:
parent
1c3dfa26bb
commit
ec05f9d8ab
2 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue