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

Apply fixes from StyleCI #5

Merged
merged 1 commit into from
Sep 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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