Skip to content

Commit

Permalink
Merge pull request #6744 from orklah/dont_assert_mixed
Browse files Browse the repository at this point in the history
Don't assert mixed type
  • Loading branch information
orklah committed Oct 26, 2021
2 parents 4b0c880 + e8e2624 commit 70175d8
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 70175d8

Please sign in to comment.