Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Oct 3, 2022
1 parent e186793 commit ab131fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public static function infer(
return null;
}

$invalidTypes = clone $stmt_expr_type;
$invalidTypes = $stmt_expr_type->getBuilder();
$invalidTypes->removeType('string');
$invalidTypes->removeType('int');
$invalidTypes->removeType('float');
Expand Down

0 comments on commit ab131fd

Please sign in to comment.