Laravel-ide-helper: Some methods in facades are not showing up (e.g. Route::prefix)

Created on 9 Jul 2018  路  3Comments  路  Source: barryvdh/laravel-ide-helper

The following does not seem to autocomplete correctly in PHPStorm.

 Route::prefix(...)

There are other examples, but I think this may be a common issue with some magic method in facades.

Most helpful comment

+1, for example Auth::routes() also missing

All 3 comments

+1, for example Auth::routes() also missing

Yes please can anyone help us with theses two ?
Meanwhile i will use Route::group(['prefix'=>'prefix_name'], function(){})
And Route::auth();

Route::prefix works, I just tested (maybe because of https://github.com/laravel/framework/pull/24086 , not sure)

As for Auth::routes(), there' already an issue for this => https://github.com/barryvdh/laravel-ide-helper/issues/513

@barryvdh original issue works, other mentions is a dupe => IMHO issue can be closed! :}

Was this page helpful?
0 / 5 - 0 ratings