Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Commit

Permalink
Fix model name difference in README (#8)
Browse files Browse the repository at this point in the history
The sentence above the example says NewsItem and the actual class is LogItem. I updated the sentence to read LogItem.
  • Loading branch information
drfraker authored and freekmurze committed Mar 1, 2017
1 parent 6589954 commit 09ee288
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 @@ -87,7 +87,7 @@ return [
All models that you want to clean up must implement the `GetsCleanedUp`-interface. In the required
`cleanUp`-method you can specify a query that selects the records that should be deleted.

Let's say you have a model called `NewsItem`, that you would like to cleaned up. In this case your model could look like this:
Let's say you have a model called `LogItem`, that you would like to cleaned up. In this case your model could look like this:

``` php
use Spatie\ModelCleanup\GetsCleanedUp;
Expand Down

0 comments on commit 09ee288

Please sign in to comment.