Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 23, 2011
1 parent 4bf0f7c commit 4b404ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PHPUnit/Framework/Constraint/Exception.php
Expand Up @@ -79,8 +79,8 @@ public function __construct($className)
*/
protected function matches($other)
{
if ($other !== NULL) {
return $other instanceof $this->className;
if ($other === NULL) {
return FALSE;
}

return $other instanceof $this->className;
Expand Down

0 comments on commit 4b404ce

Please sign in to comment.