Skip to content

Commit

Permalink
Don't assert mixed type
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah committed Oct 26, 2021
1 parent e334923 commit e8e2624
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3378,7 +3378,7 @@ private static function getTypedValueEqualityAssertions(
}


if ($other_var_name && $other_type) {
if ($other_var_name && $other_type && !$other_type->isMixed()) {
if ($identical) {
try {
$assertion = $other_type->getAssertionString(true);
Expand Down

0 comments on commit e8e2624

Please sign in to comment.