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).




0
Avatar
Permanently deleted user

Oh, sorry, I misunderstood based on the Table of Contents!

0

请先登录再写评论。