feature/natuerliche-tranformation #9

Merged
TorstenHettstedt merged 5 commits from feature/natuerliche-tranformation into master 2022-03-04 18:07:42 +01:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit def8066374 - Show all commits
@@ -49,7 +49,7 @@ abstract class AbstractHueSaturationValueToUtility
*
* @return float
*/
protected function calcColorValue($reciprocal = false): float
protected function calcColorValue(bool $reciprocal = false): float
{
// Rest-Anteil am Vollkreis des aktuellen Intervals als Wert '[0,1]'
$remainder_grad = $this->hueAsPercentGrad % self::INTERVAL;
@@ -114,7 +114,6 @@ class RedGreenBlueToHueSaturationValue
switch ($property) {
case self::PROPERTY_RED:
$amount = 0.0; // 0.0
$dividend = $this->green - $this->blu;
break;
case self::PROPERTY_GREEN: