Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
doc: userResponsible returns false and not null.
  • Loading branch information
CedricFrossard authored and duellsy committed Mar 15, 2023
1 parent 0533f5f commit 40b122b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ If you have enabled revisions of creations as well you can display it like this:

### userResponsible()

Returns the User that was responsible for making the revision. A user model is returned, or null if there was no user recorded.
Returns the User that was responsible for making the revision. A user model is returned, or false if there was no user recorded.

The user model that is loaded depends on what you have set in your `config/auth.php` file for the `model` variable.

Expand Down

0 comments on commit 40b122b

Please sign in to comment.