Skip to content

Commit

Permalink
Merge branch 'v1.6' into v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Sep 22, 2020
2 parents 9621848 + b0b8483 commit b35af66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SpecTests/DocumentsMatchConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ private function assertEquals(ArrayObject $expected, ArrayObject $actual, $ignor
}

$expectedType = is_object($expectedValue) ? get_class($expectedValue) : gettype($expectedValue);
$actualType = is_object($expectedValue) ? get_class($actualValue) : gettype($actualValue);
$actualType = is_object($actualValue) ? get_class($actualValue) : gettype($actualValue);

// Workaround for ObjectComparator printing the whole actual object
if ($expectedType !== $actualType) {
Expand Down

0 comments on commit b35af66

Please sign in to comment.