Skip to content

Commit d83d231

Browse files
author
Corey McCormick
committed
Fix syntax
1 parent 9bf7e92 commit d83d231

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
@@ -107,7 +107,7 @@ Cache busting will automatically invalid the cache when an `insert/update/delete
107107

108108
The `flush` method will flush the cache for a model.
109109

110-
User::flush(); //Cache is flushed for the `User` model.
110+
(new User)->flush() //Cache is flushed for the `User` model.
111111

112112
#### isBusting()
113113

0 commit comments

Comments
 (0)