mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Remove duplicated numeric type declaration
This commit is contained in:
parent
06581ce4b0
commit
b89ff32b7a
@ -199,9 +199,6 @@ class ConcatAnalyzer
|
|||||||
$numeric_type
|
$numeric_type
|
||||||
);
|
);
|
||||||
|
|
||||||
$numeric_type = Type::getNumericString();
|
|
||||||
$numeric_type->addType(new TInt());
|
|
||||||
$numeric_type->addType(new TFloat());
|
|
||||||
$right_is_numeric = UnionTypeComparator::isContainedBy(
|
$right_is_numeric = UnionTypeComparator::isContainedBy(
|
||||||
$codebase,
|
$codebase,
|
||||||
$right_type,
|
$right_type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user