If there is an error in code, like missing semicolon or just not providing what method should be called, the IDE will not help with proper hint, for example if I wrote this
$xyz = $this->myClass->
then go to some other line to see some logic and go back to this, when I start typing, the extension will not give me any attribute method name, I must for example do this:
$xyz = $this->myClass->a();
then its not an error but only warning as 'a' method does not exists, and then I can delete 'a' and start writing method name and then it gives me proper autocomplete hint.
Or for example the problem described in picture.
(fix meaning I added semicolon to $this->connection->insert() so its only warning (as i do not provide required argument) and not an error.