mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Fix test
This commit is contained in:
parent
1df77a9f43
commit
6ff312fe13
@ -1351,7 +1351,7 @@ class MethodCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\
|
||||
)) {
|
||||
// fall through
|
||||
}
|
||||
} elseif ($can_memoize) {
|
||||
} elseif (!$method_storage->mutation_free_inferred) {
|
||||
/** @psalm-suppress UndefinedPropertyAssignment */
|
||||
$stmt->pure = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user