1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Remove duplicated numeric type declaration

This commit is contained in:
Greg Hargreaves 2022-10-14 02:00:25 +01:00
parent 06581ce4b0
commit b89ff32b7a

View File

@ -199,9 +199,6 @@ class ConcatAnalyzer
$numeric_type
);
$numeric_type = Type::getNumericString();
$numeric_type->addType(new TInt());
$numeric_type->addType(new TFloat());
$right_is_numeric = UnionTypeComparator::isContainedBy(
$codebase,
$right_type,