mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
use the correct type for float function
This commit is contained in:
parent
57e054931e
commit
c22670d851
@ -1636,7 +1636,7 @@ class AssertionReconciler extends Reconciler
|
||||
private static function getCompatibleFloatType(
|
||||
Union $existing_var_type,
|
||||
array $existing_var_atomic_types,
|
||||
int $value,
|
||||
float $value,
|
||||
bool $is_loose_equality
|
||||
): ?Union {
|
||||
foreach ($existing_var_atomic_types as $existing_var_atomic_type) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user