Code Duplication    Length = 4-6 lines in 2 locations

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

@@ 2804-2809 (lines=6) @@
2801
		}
2802
2803
2804
		if (!empty($mediaType) && !$this->literal("and")) {
2805
			// ~
2806
		} else {
2807
			$this->genericList($expressions, "mediaExpression", "and", false);
2808
			if (is_array($expressions)) $parts = array_merge($parts, $expressions[2]);
2809
		}
2810
2811
		if (count($parts) == 0) {
2812
			$this->seek($s);

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

@@ 3061-3064 (lines=4) @@
3058
			$parts[] = $prop;
3059
		}
3060
3061
		if (empty($parts) || $this->literal("and")) {
3062
			$this->genericList($expressions, "mediaExpression", "and", false);
3063
			if (is_array($expressions)) $parts = array_merge($parts, $expressions[2]);
3064
		}
3065
3066
		$out = $parts;
3067
		return true;