mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
break the > assertion thing to see what start to fall apart
This commit is contained in:
parent
565336febd
commit
059eb5e29d
@ -93,7 +93,7 @@ class AssertionFinder
|
||||
|
||||
if ($var_name) {
|
||||
if ($candidate_if_types) {
|
||||
$if_types[$var_name] = [['>' . \json_encode($candidate_if_types[0])]];
|
||||
$if_types[$var_name] = [['&' . \json_encode($candidate_if_types[0])]];
|
||||
} else {
|
||||
$if_types[$var_name] = [['!falsy']];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user