Test Failed
Push — master ( 9d3a5c...c5f273 )
by Sebastian
08:26
created
src/RGBAColor/FormatsConverter.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -330,12 +330,10 @@
 block discarded – undo
330 330
         if ($R === $minRGB)
331 331
         {
332 332
             $h = 3 - (($G - $B) / $chroma);
333
-        }
334
-        elseif ($B === $minRGB)
333
+        } elseif ($B === $minRGB)
335 334
         {
336 335
             $h = 1 - (($R - $G) / $chroma);
337
-        }
338
-        else
336
+        } else
339 337
         { // $G == $minRGB
340 338
             $h = 5 - (($B - $R) / $chroma);
341 339
         }
Please login to merge, or discard this patch.