mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
isset always returns bool
This commit is contained in:
parent
cf6326f5e6
commit
af63d28b56
@ -1096,6 +1096,8 @@ class ExpressionChecker
|
||||
|
||||
self::analyzeIssetVar($statements_checker, $isset_var, $context);
|
||||
}
|
||||
|
||||
$stmt->inferredType = Type::getBool();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user