Skip to content

Commit

Permalink
Remove duplicated numeric type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Hargreaves committed Oct 14, 2022
1 parent 06581ce commit b89ff32
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ public static function analyze(
$numeric_type
);

$numeric_type = Type::getNumericString();
$numeric_type->addType(new TInt());
$numeric_type->addType(new TFloat());
$right_is_numeric = UnionTypeComparator::isContainedBy(
$codebase,
$right_type,
Expand Down

0 comments on commit b89ff32

Please sign in to comment.