@@ -258,7 +258,7 @@ class NumberFormatter
258258 * Constructor.
259259 *
260260 * @param string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en")
261- * @param int $style Style of the formatting, one of the format style constants
261+ * @param int $style Style of the formatting, one of the format style constants.
262262 * The only supported styles are NumberFormatter::DECIMAL
263263 * and NumberFormatter::CURRENCY.
264264 * @param string $pattern Not supported. A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or
@@ -295,7 +295,7 @@ public function __construct($locale = 'en', $style = null, $pattern = null)
295295 * Static constructor.
296296 *
297297 * @param string $locale The locale code. The only supported locale is "en" (or null using the default locale, i.e. "en")
298- * @param int $style Style of the formatting, one of the format style constants
298+ * @param int $style Style of the formatting, one of the format style constants.
299299 * The only currently supported styles are NumberFormatter::DECIMAL
300300 * and NumberFormatter::CURRENCY.
301301 * @param string $pattern Not supported. A pattern string in case $style is NumberFormat::PATTERN_DECIMAL or
@@ -355,8 +355,8 @@ public function formatCurrency($value, $currency)
355355 /**
356356 * Format a number.
357357 *
358- * @param int|float $value The value to format
359- * @param int $type Type of the formatting, one of the format type constants
358+ * @param int|float $value the value to format
359+ * @param int $type Type of the formatting, one of the format type constants.
360360 * Only type NumberFormatter::TYPE_DEFAULT is currently supported.
361361 *
362362 * @return bool|string The formatted value or false on error
@@ -516,9 +516,9 @@ public function parseCurrency($value, &$currency, &$position = null)
516516 /**
517517 * Parse a number.
518518 *
519- * @param string $value The value to parse
520- * @param int $type Type of the formatting, one of the format type constants. NumberFormatter::TYPE_DOUBLE by default
521- * @param int $position Offset to begin the parsing on return this value will hold the offset at which the parsing ended
519+ * @param string $value the value to parse
520+ * @param int $type Type of the formatting, one of the format type constants. NumberFormatter::TYPE_DOUBLE by default.
521+ * @param int $position offset to begin the parsing on return this value will hold the offset at which the parsing ended
522522 *
523523 * @return int|float|false The parsed value of false on error
524524 *
@@ -566,10 +566,10 @@ public function parse($value, $type = self::TYPE_DOUBLE, &$position = 0)
566566 /**
567567 * Set an attribute.
568568 *
569- * @param int $attr An attribute specifier, one of the numeric attribute constants
569+ * @param int $attr An attribute specifier, one of the numeric attribute constants.
570570 * The only currently supported attributes are NumberFormatter::FRACTION_DIGITS,
571571 * NumberFormatter::GROUPING_USED and NumberFormatter::ROUNDING_MODE.
572- * @param int $value The attribute value
572+ * @param int $value the attribute value
573573 *
574574 * @return bool true on success or false on failure
575575 *
0 commit comments