public function addResult(ComparisonResult $result) { if (!$result->getMatched()) { $this->matched = false; } parent::addResult($result); }
/** * @param ComparisonResult $result */ private function addResult(ComparisonResult $result) { $this->result->addResult($result); }