Skip to content

Commit

Permalink
Fix #2623 - prevent crash when combining class strings in constants
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jan 15, 2020
1 parent 389af1b commit c07fd13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Psalm/Internal/Analyzer/StatementsAnalyzer.php
Expand Up @@ -1836,7 +1836,7 @@ public static function getSimpleType(
$item_key_type = Type::combineUnionTypes(
$single_item_key_type,
$item_key_type,
$codebase,
null,
false,
true,
30
Expand Down Expand Up @@ -1916,7 +1916,7 @@ public static function getSimpleType(
$item_value_type = Type::combineUnionTypes(
$single_item_value_type,
$item_value_type,
$codebase,
null,
false,
true,
30
Expand Down

0 comments on commit c07fd13

Please sign in to comment.