rector-laravel icon indicating copy to clipboard operation
rector-laravel copied to clipboard

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

Open eigan opened this issue 1 year ago • 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');
});

eigan avatar Feb 15 '24 13:02 eigan