Skip to content

Commit 431a020

Browse files
committed
Merge branch '2.8' into 3.3
* 2.8: [VarDumper] Enhance docblock to tell about AbstractDumper::dumpLine(-1) [Debug] Remove false-positive check in DebugClassLoader [Validator] Fix use of GroupSequenceProvider in child classes Change number PHPDoc type to int|float [VarDumper] Strengthen dumped JS [travis] Add timing info [Validator] Fix Greek translation [Console] Initialize lazily to render exceptions properly [Validator] Add a property tag for File::$maxSize
2 parents 6929d87 + a64a5fe commit 431a020

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)