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