Skip to content

Commit

Permalink
[ci skip] Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmcdonald-uk authored Sep 20, 2019
1 parent 5627813 commit 63a9a64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ This package works by by hooking into Eloquent's model event listeners, and is s

When you make changes to models that bypass Eloquent, the event listeners won't be fired and userstamps will not be updated.

A common example is the mass updating or deleting of model relations.
Commonly this would happen if mass updating or deleting models, or their relations.

In this example, model relations are updated via Eloquent and userstamps **will** be maintained:

Expand All @@ -104,7 +104,7 @@ $model->foos->each(function ($item) {
});
```

However, in this example, model relations are mass-updated and bypass Eloquent. Userstamps **will not** be maintained:
However, in this example, model relations are mass updated and bypass Eloquent. Userstamps **will not** be maintained:

```php
$model->foos()->update([
Expand Down

0 comments on commit 63a9a64

Please sign in to comment.