Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #5 from NiclasHedam/analysis-XZR4VY
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
niclashedam committed Sep 27, 2018
2 parents ba4b300 + 26dce3d commit d30d143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Color.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static function fromCMYK($cyan, $magenta, $yellow, $key)
return new self(round($r * 255), round($g * 255), round($b * 255));
}

public function differenceBetween(Color $color)
public function differenceBetween(self $color)
{
return round(sqrt(
pow($this->red - $color->red, 2)
Expand Down

0 comments on commit d30d143

Please sign in to comment.