Skip to content

Commit ac66540

Browse files
chore: readme improvements
1 parent f977b9a commit ac66540

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
@@ -58,10 +58,10 @@ var_dump($unifiedResponse->demat_accounts);
5858

5959
## Value Objects
6060

61-
It is recommended to use the `with` constructor `Dog::with(name: "Joey")`
61+
It is recommended to use the static `with` constructor `Dog::with(name: "Joey")`
6262
and named parameters to initialize value objects.
6363

64-
However builders are provided as well `(new Dog)->withName("Joey")`.
64+
However, builders are also provided `(new Dog)->withName("Joey")`.
6565

6666
### Handling errors
6767

0 commit comments

Comments
 (0)