Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 3357-3365 (lines=9) @@
3354
	}
3355
3356
	// consume an end of statement delimiter
3357
	protected function end() {
3358
		if ($this->literal(';', false)) {
3359
			return true;
3360
		} elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') {
3361
			// if there is end of file or a closing block next then we don't need a ;
3362
			return true;
3363
		}
3364
		return false;
3365
	}
3366
3367
	protected function guards(&$guards) {
3368
		$s = $this->seek();

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

@@ 3872-3880 (lines=9) @@
3869
	}
3870
3871
	// consume an end of statement delimiter
3872
	protected function end() {
3873
		if ($this->literal(';')) {
3874
			return true;
3875
		} elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') {
3876
			// if there is end of file or a closing block next then we don't need a ;
3877
			return true;
3878
		}
3879
		return false;
3880
	}
3881
3882
	// advance counter to next occurrence of $what
3883
	// $until - don't include $what in advance