spatie / laravel-model-cleanup

Clean up unneeded records
https://freek.dev/410-a-laravel-package-to-clean-up-models
MIT License
399 stars 42 forks source link

Change "newsItems" to "logItems" | Fix "subDay" #27

Closed lloy0076 closed 5 years ago

lloy0076 commented 5 years ago

This talked about "newsItems" but they are "logItems".

Change "subDay()" to "subYear()" and adjust English to match. It previously was trying to say "more than a year ago" but the code example subtracted a day (not a year).

Technically a model uses a trait so reworded it thus.

Insert "on" to make more idiomatic in Changelog sentence.

freekmurze commented 5 years ago

Thanks!