Skip to content

Commit 4876d0f

Browse files
committed
Update package documentation
1 parent e1750d4 commit 4876d0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ $item->parameters->value("a"); //returns 1
126126
```
127127

128128

129-
Once instantiated, accessing `Item` properties is done via three (2) readonly properties:
129+
Once instantiated, accessing `Item` properties is done via two (2) readonly properties:
130130

131131
- `Item::value` which returns the instance underlying value
132132
- `Item::parameters` which returns the parameters associated to the `Item` as a distinct `Parameters` object
133133

134-
**Of note: to instantiate a decimal number type a float MUST be used as the first argument input.**
134+
**Of note: to instantiate a decimal number type a float MUST be used as the first argument of `Item::from`.**
135135

136136
```php
137137
use Bakame\Http\StructuredFields\Item;

0 commit comments

Comments
 (0)