Skip to content

Commit 836c5b8

Browse files
committed
Merge pull request mongodb#1813 from orditeck/patch-1
Change operator (-> to ::)
2 parents 4e746d7 + 9ced001 commit 836c5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ User::where('name', 'Jaques')->decrement('weight', 50);
484484
The number of updated objects is returned:
485485

486486
```php
487-
$count = User->increment('age');
487+
$count = User::increment('age');
488488
```
489489

490490
You may also specify additional columns to update:

0 commit comments

Comments
 (0)