Skip to content

Commit d71357e

Browse files
author
Robin Chalas
committed
Merge branch '3.4'
* 3.4: (38 commits) Fix merge [Lock] Expose an expiringDate and isExpired method in Lock [VarDumper] fix DateCasterTest [config] Add ability to deprecate a node feature #22382 [config] Add abbitily to deprecate a node (Nyholm, fabpot, sanpii) Fix segfault in period caster Create an interface for TranslationReader and moved TranslationLoader to Translation component Always require symfony/polyfill-apcu to provide APCuIterator everywhere [Lock] Fix some tests that require pcntl_sigwaitinfo() function bumped Symfony version to 3.3.9 updated VERSION for 3.3.8 updated CHANGELOG for 3.3.8 [DI] Fix tracking env var placeholders nested in object graphs bumped Symfony version to 3.3.8 updated VERSION for 3.3.7 updated CHANGELOG for 3.3.7 Add period caster [DI] improve psr4-based service discovery with namespace option [DI] Fix tracking env vars when merging configs (bis) removed obsolete comment ...
2 parents 965f00a + ae362ad commit d71357e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

NumberFormatter/NumberFormatter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ public function formatCurrency($value, $currency)
357357
/**
358358
* Format a number.
359359
*
360-
* @param number $value The value to format
361-
* @param int $type Type of the formatting, one of the format type constants
362-
* Only type NumberFormatter::TYPE_DEFAULT is currently supported.
360+
* @param int|float $value The value to format
361+
* @param int $type Type of the formatting, one of the format type constants
362+
* Only type NumberFormatter::TYPE_DEFAULT is currently supported.
363363
*
364364
* @return bool|string The formatted value or false on error
365365
*

0 commit comments

Comments
 (0)