laravel-idea / plugin

Laravel Idea plugin for PhpStorm
https://laravel-idea.com/
172 stars 7 forks source link

[Bug]: Controller in group route doesn't work #542

Closed khusan-dev closed 2 years ago

khusan-dev commented 2 years ago

Bug description

If I specify a controller in a group, then I can't navigate through the method.

Plugin version

4.3.4.202

Operating system

Windows

Steps to reproduce

Route::group(['controller' => AuthController::class], function () { Route::post('register', 'register'); Route::post('send_code', 'sendCode'); Route::post('check_code', 'checkCode'); Route::post('login', 'login'); });

Relevant log output

No response

adelf commented 2 years ago

I support only Route::controller() syntax. I'll add support for this syntax in the next version. Thanks!

khusan-dev commented 2 years ago

I support only Route::controller() syntax. I'll add support for this syntax in the next version. Thanks!

Thanks for the answer. But unfortunately the syntax you describe doesn't lead to a method either.

adelf commented 2 years ago

Plugin version 4.3.4.202

This is a very old version of the plugin. The current version is 5.3. Please update PhpStorm and plugin.

khusan-dev commented 2 years ago

Plugin version 4.3.4.202

This is a very old version of the plugin. The current version is 5.3. Please update PhpStorm and plugin.

Thank you. After the update everything worked.