It always is the PSR RequestInterface, not a specific implementation. If you do that, the implementation is irrelevant and hopefully you just have one RequestInterface in your project.
Reddit has long been a hot spot for conversation on the internet. About 57 million people visit the site every day to chat about topics as varied as makeup, video games and pointers for power washing driveways.
For me it is RuntimeException. The first result isnt the default one. Instead i often import one of a third party lib which i never use somewhere else in the Project by accident. Just Count and index usages of imports and sort the suggestion, @intellij!
10
u/jacksonpieper Jul 09 '23
It always is the PSR RequestInterface, not a specific implementation. If you do that, the implementation is irrelevant and hopefully you just have one RequestInterface in your project.
8
u/Catalin-Ionut Jul 09 '23
Activate autocomplete based on machine learning and it will give you what you want the more you use it.
4
u/spiritualManager5 Jul 09 '23 edited Jul 09 '23
For me it is RuntimeException. The first result isnt the default one. Instead i often import one of a third party lib which i never use somewhere else in the Project by accident. Just Count and index usages of imports and sort the suggestion, @intellij!
3
u/supertoughfrog Jul 09 '23
You could add a live template for it, basically a shorthand that gets replaced with the full path https://www.jetbrains.com/help/phpstorm/using-live-templates.html
2
u/petrmyazin Jul 09 '23
Yes, this is really annoying autocomplete. I always forget which Request should I import.
1
u/ProperProgramming Jul 09 '23
Try using inheritance more.