1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Remove unused code

This commit is contained in:
Matthew Brown 2019-01-18 11:57:52 -05:00
parent eddaaea01b
commit b313971935

View File

@ -379,8 +379,6 @@ class StaticCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\
$class_storage = $codebase->classlike_storage_provider->get($fq_class_name);
if (isset($class_storage->pseudo_static_methods[$method_name_lc])) {
$has_valid_method_call_type = true;
$pseudo_method_storage = $class_storage->pseudo_static_methods[$method_name_lc];
if (self::checkFunctionArguments(
@ -435,8 +433,6 @@ class StaticCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\
}
}
$has_valid_method_call_type = true;
$array_values = array_map(
/**
* @return PhpParser\Node\Expr\ArrayItem