Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2905-2907 (lines=3) @@
2902
		if (count($content) == 0) return false;
2903
2904
		// trim the end
2905
		if (is_string(end($content))) {
2906
			$content[count($content) - 1] = rtrim(end($content));
2907
		}
2908
2909
		$out = array("string", "", $content);
2910
		return true;

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

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