mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 01:37:23 +01:00
useless switch
This commit is contained in:
parent
fce60a018a
commit
c45e9bfc5f
@ -102,10 +102,8 @@ class Reconciler
|
||||
|
||||
foreach ($new_type_parts as $new_type_part_parts) {
|
||||
foreach ($new_type_part_parts as $new_type_part_part) {
|
||||
switch ($new_type_part_part[0]) {
|
||||
case '!':
|
||||
$has_negation = true;
|
||||
break;
|
||||
if ($new_type_part_part[0] === '!') {
|
||||
$has_negation = true;
|
||||
}
|
||||
|
||||
$has_isset = $has_isset
|
||||
|
Loading…
Reference in New Issue
Block a user