1
0
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:
Brown 2019-06-14 15:55:23 -04:00
parent 1bc1af140f
commit edf3307f84
2 changed files with 1 additions and 3 deletions

View File

@ -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,

View File

@ -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(