Skip to content

Commit 14de00a

Browse files
authored
Fix incorrect reference to VersionStrategy in README (#40)
1 parent cdf560c commit 14de00a

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
@@ -158,8 +158,8 @@ Post::withoutVersion(function () use ($post) {
158158

159159
You can set the following different version policies through property `protected $versionStrategy`:
160160

161-
- `Overtrue\LaravelVersionable::DIFF` - Version content will only contain changed attributes (Default Strategy).
162-
- `Overtrue\LaravelVersionable::SNAPSHOT` - Version content will contain all versionable attributes values.
161+
- `Overtrue\LaravelVersionable\VersionStrategy::DIFF` - Version content will only contain changed attributes (default strategy).
162+
- `Overtrue\LaravelVersionable\VersionStrategy::SNAPSHOT` - Version content will contain all versionable attributes values.
163163

164164
### Show diff between two versions
165165

0 commit comments

Comments
 (0)