Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 2497-2503 (lines=7) @@
2494
		}
2495
2496
		// opening a simple block
2497
		if ($this->tags($tags) && $this->literal('{', false)) {
2498
			$tags = $this->fixTags($tags);
2499
			$this->pushBlock($tags);
2500
			return true;
2501
		} else {
2502
			$this->seek($s);
2503
		}
2504
2505
		// closing a block
2506
		if ($this->literal('}', false)) {

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

@@ 2894-2900 (lines=7) @@
2891
		// opening css block
2892
		$oldComments = $this->insertComments;
2893
		$this->insertComments = false;
2894
		if ($this->selectors($selectors) && $this->literal("{")) {
2895
			$this->pushBlock($selectors);
2896
			$this->insertComments = $oldComments;
2897
			return true;
2898
		} else {
2899
			$this->seek($s);
2900
		}
2901
		$this->insertComments = $oldComments;
2902
2903
		// property assign, or nested assign