Code Duplication    Length = 3-3 lines in 2 locations

src/LesserPhp/Color/Converter.php 2 locations

@@ 85-87 (lines=3) @@
82
            $comp -= 1.0;
83
        }
84
85
        if (6 * $comp < 1) {
86
            return $temp1 + ($temp2 - $temp1) * 6 * $comp;
87
        }
88
        if (2 * $comp < 1) {
89
            return $temp2;
90
        }
@@ 91-93 (lines=3) @@
88
        if (2 * $comp < 1) {
89
            return $temp2;
90
        }
91
        if (3 * $comp < 2) {
92
            return $temp1 + ($temp2 - $temp1) * ((2 / 3) - $comp) * 6;
93
        }
94
95
        return $temp1;
96
    }