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

Add back mutation checks

This commit is contained in:
Matthew Brown 2017-01-11 21:37:53 -05:00
parent 56be346191
commit 107d8352fc

View File

@ -515,7 +515,6 @@ abstract class ClassLikeChecker extends SourceChecker implements StatementsSourc
if ($context->self && $context->self !== $this->fq_class_name) {
$analyzed_method_id = (string)$method_checker->getMethodId($context->self);
$declaring_method_id = MethodChecker::getDeclaringMethodId($analyzed_method_id);
if ($actual_method_id !== $declaring_method_id) {