@@ -260,7 +260,7 @@ class NumberFormatter
260260 * Constructor.
261261 *
262262 * @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
263- * @param int $style Style of the formatting, one of the format style constants
263+ * @param int $style Style of the formatting, one of the format style constants.
264264 * The only supported styles are NumberFormatter::DECIMAL
265265 * and NumberFormatter::CURRENCY.
266266 * @param string $pattern Not supported. A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or
@@ -297,7 +297,7 @@ public function __construct($locale = 'en', $style = null, $pattern = null)
297297 * Static constructor.
298298 *
299299 * @param string $locale The locale code. The only supported locale is "en" (or null using the default locale, i.e. "en")
300- * @param int $style Style of the formatting, one of the format style constants
300+ * @param int $style Style of the formatting, one of the format style constants.
301301 * The only currently supported styles are NumberFormatter::DECIMAL
302302 * and NumberFormatter::CURRENCY.
303303 * @param string $pattern Not supported. A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or
@@ -357,8 +357,8 @@ public function formatCurrency($value, $currency)
357357 /**
358358 * Format a number.
359359 *
360- * @param int|float $value The value to format
361- * @param int $type Type of the formatting, one of the format type constants
360+ * @param int|float $value the value to format
361+ * @param int $type Type of the formatting, one of the format type constants.
362362 * Only type NumberFormatter::TYPE_DEFAULT is currently supported.
363363 *
364364 * @return bool|string The formatted value or false on error
@@ -518,9 +518,9 @@ public function parseCurrency($value, &$currency, &$position = null)
518518 /**
519519 * Parse a number.
520520 *
521- * @param string $value The value to parse
522- * @param int $type Type of the formatting, one of the format type constants. NumberFormatter::TYPE_DOUBLE by default
523- * @param int $position Offset to begin the parsing on return this value will hold the offset at which the parsing ended
521+ * @param string $value the value to parse
522+ * @param int $type Type of the formatting, one of the format type constants. NumberFormatter::TYPE_DOUBLE by default.
523+ * @param int $position offset to begin the parsing on return this value will hold the offset at which the parsing ended
524524 *
525525 * @return int|float|false The parsed value of false on error
526526 *
@@ -568,10 +568,10 @@ public function parse($value, $type = self::TYPE_DOUBLE, &$position = 0)
568568 /**
569569 * Set an attribute.
570570 *
571- * @param int $attr An attribute specifier, one of the numeric attribute constants
571+ * @param int $attr An attribute specifier, one of the numeric attribute constants.
572572 * The only currently supported attributes are NumberFormatter::FRACTION_DIGITS,
573573 * NumberFormatter::GROUPING_USED and NumberFormatter::ROUNDING_MODE.
574- * @param int $value The attribute value
574+ * @param int $value the attribute value
575575 *
576576 * @return bool true on success or false on failure
577577 *
0 commit comments