From 09ee288f80017b7708031cc1a1f93402136fa5c8 Mon Sep 17 00:00:00 2001 From: Dustin Fraker Date: Wed, 1 Mar 2017 09:50:55 +0100 Subject: [PATCH] Fix model name difference in README (#8) The sentence above the example says NewsItem and the actual class is LogItem. I updated the sentence to read LogItem. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2536210..e339261 100644 --- a/README.md +++ b/README.md @@ -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;