Code Duplication    Length = 8-8 lines in 3 locations

webroot/css/anax-grid/lessphp/lessc.inc.php 3 locations

@@ 1698-1705 (lines=8) @@
1695
		return $this->fixColor($out);
1696
	}
1697
1698
	function lib_red($color){
1699
		$color = $this->coerceColor($color);
1700
		if (is_null($color)) {
1701
			$this->throwError('color expected for red()');
1702
		}
1703
1704
		return $color[1];
1705
	}
1706
1707
	function lib_green($color){
1708
		$color = $this->coerceColor($color);
@@ 1707-1714 (lines=8) @@
1704
		return $color[1];
1705
	}
1706
1707
	function lib_green($color){
1708
		$color = $this->coerceColor($color);
1709
		if (is_null($color)) {
1710
			$this->throwError('color expected for green()');
1711
		}
1712
1713
		return $color[2];
1714
	}
1715
1716
	function lib_blue($color){
1717
		$color = $this->coerceColor($color);
@@ 1716-1723 (lines=8) @@
1713
		return $color[2];
1714
	}
1715
1716
	function lib_blue($color){
1717
		$color = $this->coerceColor($color);
1718
		if (is_null($color)) {
1719
			$this->throwError('color expected for blue()');
1720
		}
1721
1722
		return $color[3];
1723
	}
1724
1725
1726
	// operator on two numbers