Skip to content
Permalink
Browse files

Fix Psalm errors

  • Loading branch information...
muglug committed Jun 14, 2019
1 parent 1bc1af1 commit edf3307f84fa3538601859fda1245536a2dd359f
@@ -142,7 +142,7 @@ public static function analyze(
$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 @@ public function handleClassLikeReferenceInMigration(
(int) $class_name_node->getAttribute('endFilePos') + 1
);
} else {
$source_namespace = $source->getNamespace();
$file_manipulations = [];
$file_manipulations[] = new \Psalm\FileManipulation(

0 comments on commit edf3307

Please sign in to comment.
You can’t perform that action at this time.