Code Duplication    Length = 7-7 lines in 3 locations

projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location

@@ 1658-1664 (lines=7) @@
1655
	}
1656
1657
	protected function stringConcatenate($left, $right) {
1658
		if ($strLeft = $this->coerceString($left)) {
1659
			if ($right[0] == "string") {
1660
				$right[1] = "";
1661
			}
1662
			$strLeft[2][] = $right;
1663
			return $strLeft;
1664
		}
1665
1666
		if ($strRight = $this->coerceString($right)) {
1667
			array_unshift($strRight[2], $left);

projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php 2 locations

@@ 1033-1039 (lines=7) @@
1030
1031
	// adding strings
1032
	protected function op_add($left, $right) {
1033
		if ($strLeft = $this->coerceString($left)) {
1034
			if ($right[0] == "string") {
1035
				$right[1] = "";
1036
			}
1037
			$strLeft[2][] = $right;
1038
			return $strLeft;
1039
		}
1040
1041
		if ($strRight = $this->coerceString($right)) {
1042
			if ($left[0] == "string") {
@@ 1041-1047 (lines=7) @@
1038
			return $strLeft;
1039
		}
1040
1041
		if ($strRight = $this->coerceString($right)) {
1042
			if ($left[0] == "string") {
1043
				$left[1] = "";
1044
			}
1045
			array_unshift($strRight[2], $left);
1046
			return $strRight;
1047
		}
1048
	}
1049
1050
	protected function op_and($left, $right, $shouldEval) {