mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Improve cache clearing
This commit is contained in:
parent
7df4d74a7b
commit
2323d28238
@ -142,6 +142,7 @@ abstract class FunctionLikeChecker implements StatementsSource
|
||||
|
||||
if ($implemented_method_ids) {
|
||||
$have_emitted = false;
|
||||
|
||||
foreach ($implemented_method_ids as $implemented_method_id) {
|
||||
if ($have_emitted) {
|
||||
break;
|
||||
|
@ -672,5 +672,6 @@ class MethodChecker extends FunctionLikeChecker
|
||||
self::$have_reflected = [];
|
||||
self::$have_registered = [];
|
||||
self::$method_visibility = [];
|
||||
self::$overridden_methods = [];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user