Skip to content

Commit

Permalink
- Merge [1405].
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 17, 2007
1 parent 80b17f2 commit 02827a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PHPUnit/Framework/Constraint/IsEqual.php
Expand Up @@ -185,6 +185,10 @@ public function toString()
*/
protected function recursiveComparison($a, $b, $depth = 0)
{
if ($a === $b) {
return TRUE;
}

if ($depth >= $this->maxDepth) {
return TRUE;
}
Expand Down

0 comments on commit 02827a5

Please sign in to comment.