Permalink
Browse files

Merge branch '3.6'

  • Loading branch information...
sebastianbergmann committed Dec 23, 2011
2 parents 054b48b + 4b404ce commit 53c4bca2dfb60c4964eaf5b1f132be6c96d62f5b
Showing with 2 additions and 2 deletions.
  1. +2 −2 PHPUnit/Framework/Constraint/Exception.php
@@ -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;

0 comments on commit 53c4bca

Please sign in to comment.