mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix bad offset
This commit is contained in:
parent
c0729a02cd
commit
c6ed1b0458
@ -151,7 +151,12 @@ class Algebra
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$clauses[] = new Clause([$var => [$type]], false, true, $type[0] === '^' || $type[0] === '^');
|
||||
$clauses[] = new Clause(
|
||||
[$var => [$type]],
|
||||
false,
|
||||
true,
|
||||
$type[0] === '^' || (strlen($type) > 1 && $type[1] === '^')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user