Skip to content

Commit 1d770fc

Browse files
Merge branch '7.4' into 8.0
* 7.4: [FrameworkBundle] Normalize workflow places separately [Console] Don’t automatically append EOT to multiline test inputs [Serializer] add correct psalm and phpstan return types for `DenormalizerInterface` [Validator] Review Albanian translations [Intl] Remove incorrect condition in CurrencyDataGenerator::icuPairToDate [Console] Fix test after #61308 [Config] Fix `GlobResource` pattern with trailing slash
2 parents 85f51cd + b6a7f63 commit 1d770fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Data/Generator/CurrencyDataGenerator.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ private static function icuPairToDate(array $pair): string
232232
// Recompose a 64-bit unsigned integer from two 32-bit chunks.
233233
$unsigned64 = ((($highBits32 & 0xFFFFFFFF) << 32) | ($lowBits32 & 0xFFFFFFFF));
234234

235-
// Convert to signed 64-bit (two's complement) if sign bit is set.
236-
if ($unsigned64 >= (1 << 63)) {
237-
$unsigned64 -= (1 << 64);
238-
}
239-
240235
// Split into seconds and milliseconds.
241236
$seconds = intdiv($unsigned64, 1000);
242237
$millisecondsRemainder = $unsigned64 - $seconds * 1000;

0 commit comments

Comments
 (0)