mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix Psalm errors
This commit is contained in:
parent
1bc1af140f
commit
edf3307f84
@ -142,7 +142,7 @@ class ExpressionAnalyzer
|
||||
$stmt->inferredType = Type::getClassString();
|
||||
} else {
|
||||
if ($codebase->alter_code) {
|
||||
$moved_class = $codebase->classlikes->handleClassLikeReferenceInMigration(
|
||||
$codebase->classlikes->handleClassLikeReferenceInMigration(
|
||||
$codebase,
|
||||
$statements_analyzer,
|
||||
$stmt,
|
||||
|
@ -1114,8 +1114,6 @@ class ClassLikes
|
||||
(int) $class_name_node->getAttribute('endFilePos') + 1
|
||||
);
|
||||
} else {
|
||||
$source_namespace = $source->getNamespace();
|
||||
|
||||
$file_manipulations = [];
|
||||
|
||||
$file_manipulations[] = new \Psalm\FileManipulation(
|
||||
|
Loading…
Reference in New Issue
Block a user