Ctrl+Space for built-in PHP class not showing methods
I'm trying to use SoapClient and when I type that as a static class then hit Ctrl+Space to choose a method, the drop-down just says "class" and no functions... it doesn't seem to understand it has any methods unless I Ctrl+click the class itself, which takes a lot longer to peruse. If I hit Ctrl+Space again (to see more variants) it still doesn't show any methods. The PHP.net documentation says the class has static methods, so I don't know why PHPStorm isn't recognizing that.
If I type an instantiated object var of the class (like $soap->) then hit Ctrl+Space, it says the same thing, but hitting Ctrl+Space again shows the methods... so it finds them but I don't know why it requires me to hit Ctrl+Space twice to see them (whereas other objects show them the first time).



Please sign in to leave a comment.
http://php.net/manual/en/class.soapclient.php - there are no static methods
Oh, sorry, I misunderstood based on the Table of Contents!