Skip to content

Commit a9852ed

Browse files
rudidude86nicolas-grekas
authored andcommitted
fix type for $value in DocBlock
`$value` is supposed to be a string, not an int, according to [`NumberFormatter::setTextAttribute()` documentation](https://secure.php.net/manual/en/numberformatter.settextattribute.php)
1 parent f61ebcd commit a9852ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NumberFormatter/NumberFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ public function setSymbol($attr, $value)
639639
* Not supported. Set a text attribute.
640640
*
641641
* @param int $attr An attribute specifier, one of the text attribute constants
642-
* @param int $value The attribute value
642+
* @param string $value The attribute value
643643
*
644644
* @return bool true on success or false on failure
645645
*

0 commit comments

Comments
 (0)