Skip to content

Commit

Permalink
Fix array_unique flag
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Oct 17, 2020
1 parent 37ab91a commit 862a956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Type/Union.php
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ public function toNamespacedString(
}

sort($types);
return implode('|', array_unique($types));
return implode('|', \array_unique($types));
}

/**
Expand Down

0 comments on commit 862a956

Please sign in to comment.