From 26dce3d8baf2d8dd9f2d51ba9993621b5f32e58d Mon Sep 17 00:00:00 2001 From: Niclas Hedam Date: Thu, 27 Sep 2018 19:42:36 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Color.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Color.php b/src/Color.php index 7af1848..02a4841 100755 --- a/src/Color.php +++ b/src/Color.php @@ -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)