code suggestions in intelliJ and PHPStorm
Does anyone know how to improve the code suggestions in intelliJ/PHPStorm?
I have some suggestions here that don't make much sense and the executedSuccessfully is somewhere much too far behind.
So logically there are only a few possibilities. Either .executedSuccessfully, or then just methods that I can execute on an object. But .response will give me a runtime error. I really don't understand why the IDE suggests this...
Please sign in to leave a comment.
Which IDE version do you use? What do Code completion settings (Settings/Preferences | Editor | General | Code Completion) look like in your case?
I am using IntelliJ IDEA Ultimate 2019.2 with the following settings:

It's quite an outdated version. Please try updating. `executedSuccessfully` is correctly suggested in the latest 2022.1.
Ah yes, with 2022.1 it works as expected. Thanks!