Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 2915-2921 (lines=7) @@
2912
2913
	protected function string(&$out) {
2914
		$s = $this->seek();
2915
		if ($this->literal('"', false)) {
2916
			$delim = '"';
2917
		} elseif ($this->literal("'", false)) {
2918
			$delim = "'";
2919
		} else {
2920
			return false;
2921
		}
2922
2923
		$content = array();
2924

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

@@ 3442-3448 (lines=7) @@
3439
3440
	protected function string(&$out) {
3441
		$s = $this->seek();
3442
		if ($this->literal('"', false)) {
3443
			$delim = '"';
3444
		} elseif ($this->literal("'", false)) {
3445
			$delim = "'";
3446
		} else {
3447
			return false;
3448
		}
3449
3450
		$content = array();
3451
		$oldWhite = $this->eatWhiteDefault;