driftingly/rector-laravel

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

Opened this issue · 0 comments

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');
});