Skip to content

Commit

Permalink
Leftover.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 21, 2011
1 parent 370f00e commit 2c2a5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/Framework/Constraint/ExceptionCode.php
Expand Up @@ -79,7 +79,7 @@ public function __construct($expected)
*/
protected function matches($other)
{
return $other->getCode() == $this->expectedCode;
return (string)$other->getCode() == (string)$this->expectedCode;
}

/**
Expand Down

0 comments on commit 2c2a5ba

Please sign in to comment.