1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix puny bug

This commit is contained in:
Matthew Brown 2016-04-03 14:30:49 -04:00
parent 9b26dc8eab
commit e542b876f8

View File

@ -245,7 +245,7 @@ class StatementsChecker
$elseif_types = $this->_getTypeAssertions($elseif->cond, true);
if (!($stmt->cond instanceof PhpParser\Node\Expr\BinaryOp\BooleanAnd)) {
if (!($elseif->cond instanceof PhpParser\Node\Expr\BinaryOp\BooleanAnd)) {
$negated_types = array_merge($negated_types, self::_negateTypes($elseif_types));
}