Skip to content

Commit 3d3b72f

Browse files
committed
Update README.md
1 parent 93a1dc9 commit 3d3b72f

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
@@ -84,7 +84,7 @@ You have to define a `$versioned` array in your model that contains all versione
8484

8585
By default the query builder will fetch the latest version (e. g. `User::find(1);` will return the latest version of user #1). If you want a specific version or all versions, you can use the following:
8686

87-
* `version(NUMBER_OF_VERSION)` returns a specific version<br>Example: `User::version(2)->find(1)` will return version #2 of user #1
87+
* `version(VERSION_NO)` returns a specific version<br>Example: `User::version(2)->find(1)` will return version #2 of user #1
8888

8989
* `allVersions()` returns all versions of the queried items<br>Example: `User::allVersions()->get()` will return all versions of all users
9090

0 commit comments

Comments
 (0)