Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
willemstuursma committed Oct 2, 2018
1 parent 3ff734a commit a8706d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pallete/ColorPalette.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ public function pickClosestColor(AbstractColor $color): AbstractColor

$colorArray = $color->getArray();

foreach (self::PALETTE as $colorIdentifier => $colorSchema) {

foreach (self::PALETTE as $colorIdentifier => $colorSchema)
{
$rDistance = $colorSchema[0] - $colorArray[0];
$gDistance = $colorSchema[1] - $colorArray[1];
$bDistance = $colorSchema[2] - $colorArray[2];
Expand Down

0 comments on commit a8706d0

Please sign in to comment.