Code Duplication    Length = 3-3 lines in 2 locations

src/LesserPhp/Color/Converter.php 2 locations

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