driftingly/rector-laravel

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

Closed this issue · 0 comments

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!