We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eec51d commit 1c69be9Copy full SHA for 1c69be9
1 file changed
src/Phing/Util/SizeHelper.php
@@ -99,12 +99,12 @@ protected static function findUnitMultiple(string $unit): int
99
{
100
foreach (self::IEC as $exponent => $choices) {
101
if (in_array(strtolower($unit), array_map('strtolower', $choices))) {
102
- return pow(self::KIBI, $exponent);
+ return (int) pow(self::KIBI, $exponent);
103
}
104
105
foreach (self::SI as $exponent => $choices) {
106
107
- return pow(self::KILO, $exponent);
+ return (int) pow(self::KILO, $exponent);
108
109
110
0 commit comments