1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
This commit is contained in:
Brown 2020-07-26 15:21:05 -04:00
parent 23f5d66516
commit 657f9db2e0
3 changed files with 6 additions and 5 deletions

View File

@ -207,7 +207,7 @@ class CallAnalyzer
$old_calling_method_id = $context->calling_method_id;
if ($fq_class_name === $source->getFQCLN()) {
$class_analyzer->getMethodMutations(strtolower($declaring_method_id->method_name), $context);
$class_analyzer->getMethodMutations($declaring_method_id->method_name, $context);
} else {
$declaring_fq_class_name = $declaring_method_id->fq_class_name;

View File

@ -402,10 +402,6 @@ class ReflectorVisitor extends PhpParser\NodeVisitorAbstract implements PhpParse
$visibility_map[$new_name] = ClassLikeAnalyzer::VISIBILITY_PRIVATE;
break;
case 4:
$visibility_map[$new_name] = ClassLikeAnalyzer::VISIBILITY_PRIVATE;
break;
case 32:
$final_map[$new_name] = true;
break;

View File

@ -221,6 +221,11 @@ class ClassLikeStorage
*/
public $trait_alias_map = [];
/**
* @var array<lowercase-string, bool>
*/
public $trait_final_map = [];
/**
* @var array<string, int>
*/