mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Add back mutation checks
This commit is contained in:
parent
56be346191
commit
107d8352fc
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user