예제 #1
0
 public function visitMismatchedTypesResult(MismatchedTypesResult $result)
 {
     $this->buffer->add(false, $this->formatAsRow(ComparisonResult::typeAndValue($result->getLeft()), ComparisonResult::typeAndValue($result->getRight())), MismatchedTypesResult::getMarker());
 }
예제 #2
0
 public function visitMismatchedTypesResult(MismatchedTypesResult $result)
 {
     $this->updateLeftWidth(strlen(ComparisonResult::typeAndValue($result->getLeft())));
     $this->updateRightWidth(strlen(ComparisonResult::typeAndValue($result->getRight())));
 }