driftingly / rector-laravel

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

Route::group() with namespace doesnt work with RouteActionCallableRector #178

Open eigan opened 6 months ago

eigan commented 6 months ago

It will not be able to resolve the classname properly and fails when $phpMethodReflection is null.

Route::group(['namespace' => 'MyApp\Controllers'], function(): void {
   Route::get('api/foo', 'SomeController@method');
});