Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2900-2902 (lines=3) @@
2897
		if (count($content) == 0) return false;
2898
2899
		// trim the end
2900
		if (is_string(end($content))) {
2901
			$content[count($content) - 1] = rtrim(end($content));
2902
		}
2903
2904
		$out = array("string", "", $content);
2905
		return true;

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

@@ 3573-3575 (lines=3) @@
3570
		if (count($content) == 0) return false;
3571
3572
		// trim the end
3573
		if (is_string(end($content))) {
3574
			$content[count($content) - 1] = rtrim(end($content));
3575
		}
3576
3577
		$out = array("string", "", $content);
3578
		return true;