Skip to content

Commit

Permalink
Fix empty class
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jan 9, 2022
1 parent 1a1b5a9 commit 6f513df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Type/Reconciler.php
Expand Up @@ -233,7 +233,7 @@ public static function reconcileKeyedTypes(
);

if ($result_type_candidate->isUnionEmpty()) {
$result_type_candidate->addType(new TEmpty);
$result_type_candidate->addType(new TNever);
}

$orred_type = Type::combineUnionTypes(
Expand Down

0 comments on commit 6f513df

Please sign in to comment.