refactor: kleinere Fehler Beseitigen
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user