Skip to content

Commit 140fb9b

Browse files
committed
Update chaining example
1 parent 3fa0b9a commit 140fb9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ All methods not returning a specific value returns the Dot object for chaining:
7474
```php
7575
$dot = dot();
7676

77-
$dot->add('user.name', 'John')->set('user.email', '[email protected]')->clear(); // returns empty Dot
77+
$dot->add('user.name', 'John')
78+
->set('user.email', '[email protected]')
79+
->clear(); // returns empty Dot
7880
```
7981

8082
## Methods

0 commit comments

Comments
 (0)