Skip to content

Commit c11c96e

Browse files
committed
[TASK] Add another native return type declaration
As suggested by Rector.
1 parent 2c49003 commit c11c96e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Value/Color.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@ public static function parse(ParserState $oParserState, bool $bIgnoreCase = fals
102102
return new Color($aColor, $oParserState->currentLine());
103103
}
104104

105-
/**
106-
* @return float
107-
*/
108-
private static function mapRange(float $fVal, float $fFromMin, float $fFromMax, float $fToMin, float $fToMax)
105+
private static function mapRange(float $fVal, float $fFromMin, float $fFromMax, float $fToMin, float $fToMax): float
109106
{
110107
$fFromRange = $fFromMax - $fFromMin;
111108
$fToRange = $fToMax - $fToMin;

0 commit comments

Comments
 (0)