Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Jul 5, 2023
1 parent 9fedb79 commit 4ac597f
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 @@ -746,7 +746,7 @@ DateSettings::fake([

Now, when the `DateSettings` settings class is injected somewhere in your application, the `birth_date` property will be `DateTime('16-05-1994')`.

If all properties are overwritten, no database calls will be made. If only some properties are overwritten, the package will first load the settings from the database and then overwrite the properties. It is possible to explicitly throw an MissingSettings exception when a property is not overwritten in a fake method call
If all properties are overwritten, no calls to repositories will be made. If only some properties are overwritten, the package will first add the overwritten properties and then load the missing settings from the repository. It is possible to explicitly throw an MissingSettings exception when a property is not overwritten in a fake method call like this:

```php
DateSettings::fake([
Expand Down

0 comments on commit 4ac597f

Please sign in to comment.