driftingly / rector-laravel

Rector upgrades rules for Laravel
http://getrector.org
MIT License
469 stars 48 forks source link

laravel90 set unnecessarily adding null argument to Model::touch() #220

Closed hackel closed 1 month ago

hackel commented 2 months ago

When I run the laravel90 set against my code, it is changing all instances of $model->touch() to $model->touch(null) for no apparent reason (null is the default value). Is there a way to prevent this? It doesn't seem possible to skip this particular change from the config. Thanks!