Skip to content

Commit b35af66

Browse files
committed
Merge branch 'v1.6' into v1.7
2 parents 9621848 + b0b8483 commit b35af66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SpecTests/DocumentsMatchConstraint.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ private function assertEquals(ArrayObject $expected, ArrayObject $actual, $ignor
315315
}
316316

317317
$expectedType = is_object($expectedValue) ? get_class($expectedValue) : gettype($expectedValue);
318-
$actualType = is_object($expectedValue) ? get_class($actualValue) : gettype($actualValue);
318+
$actualType = is_object($actualValue) ? get_class($actualValue) : gettype($actualValue);
319319

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

0 commit comments

Comments
 (0)