Skip to content

Commit 6cc6ccd

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: [Mailer][MailJet] Fix forbidden headers case-sensitive comparison do not cast too big floats to int [Scheduler] Don’t get next run date from `null` [JsonPath] Add @alexandre-daubois as code owner do not pass more than one byte to ord()
2 parents c38310f + 20ad562 commit 6cc6ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ protected function getNumberFormatter(): \NumberFormatter
173173
*/
174174
protected function castParsedValue(int|float $value): int|float
175175
{
176-
if (\is_int($value) && $value === (int) $float = (float) $value) {
176+
if (\is_int($value) && (($float = (float) $value) < \PHP_INT_MAX) && $value === (int) $float) {
177177
return $float;
178178
}
179179

0 commit comments

Comments
 (0)