Code Duplication    Length = 5-7 lines in 3 locations

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

@@ 3722-3728 (lines=7) @@
3719
3720
		}
3721
3722
		if (!empty($block->lines)) {
3723
			$glue = $this->break.$inner;
3724
			echo $inner . implode($glue, $block->lines);
3725
			if (!$isSingle && !empty($block->children)) {
3726
				echo $this->break;
3727
			}
3728
		}
3729
3730
		foreach ($block->children as $child) {
3731
			$this->block($child);

modules/custom-css/custom-css/preprocessors/scss.inc.php 2 locations

@@ 4064-4070 (lines=7) @@
4061
			$inner = $this->indentStr();
4062
		}
4063
4064
		if (!empty($block->lines)) {
4065
			$glue = $this->break.$inner;
4066
			echo $inner . implode($glue, $block->lines);
4067
			if (!empty($block->children)) {
4068
				echo $this->break;
4069
			}
4070
		}
4071
4072
		foreach ($block->children as $child) {
4073
			$this->block($child);
@@ 4151-4155 (lines=5) @@
4148
			$inner = $this->indentStr($block->depth - 1);
4149
		}
4150
4151
		if (!empty($block->lines)) {
4152
			$glue = $this->break.$inner;
4153
			echo $inner . implode($glue, $block->lines);
4154
			if (!empty($block->children)) echo $this->break;
4155
		}
4156
4157
		foreach ($block->children as $i => $child) {
4158
			// echo "*** block: ".$block->depth." child: ".$child->depth."\n";