If the controller is specified via the controller method, then the methods in the controller are not defined as used. Quick navigation to the controller method also does not work.
Code example in routes/api.php:
Route::controller(UserAPIController::class)
->prefix('users')
->group(function () {
Route::get('/', 'index');
Route::get('/{user}', 'show');
});
In this case, I cannot quickly switch to the index method in UserAPIController by clicking on index. Also, in the UserAPIController itself, it says that the index and show methods are not used anywhere.