Answer the question
In order to leave comments, you need to log in
Why doesn't phpstorm index laravel internals?
Created a project in Laravel. Empty.
I click on the str_random function (and others), writes:
"Cannot find declaration to go to".
Answer the question
In order to leave comments, you need to log in
Many folders have been excluded from indexing by default. If anyone knows why, please write in the comments.
Removed them from the "excluded" and the problem was solved.
@deprecated Str::random() should be used directly instead. Will be removed in Laravel 6.0.
I'll translate if you don't understand.
Laravel version 6.0 will remove the str_random() global function. Use via the Str::random() helper.
In your case, it is not clear which version of Laravel you have and why the storm is not indexing.
Well, here it is possible that the storm itself did not index. Try demolishing the vendor folder and then composer update.
After that, the storm should re-index everything.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question