driftingly / rector-laravel

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

Fix redundant default arguments in Laravel 9 Set #221

Closed GeniJaho closed 1 month ago

GeniJaho commented 1 month ago

Fixes https://github.com/driftingly/rector-laravel/issues/220.

This PR also handles similar cases in the Laravel 9 set, where we add redundant default variables, and covers with tests all the changes of the set.