/** * @param ComparisonResult $result * @param int $extra * @return string */ protected function makeIndent(ComparisonResult $result, $extra) { return $this->pad($extra + $result->getDepth() * self::INDENT); }
public function checkMatched(ComparisonResult $result) { if (!$result->getMatched()) { $this->matched = false; } }