Magic functions like __call() and __callStatic() are used pretty often in the code, and because of them IDE cant get method names and their info.
Examples of such functions can be:
Resque::push() // push() is invoked via __callStatic(), function info is not loaded
Resque\Redis::instance()->* // none of the methods of Predis\Client is loaded, makes it very complicated
I'm not really sure of the way to fix this, I only can think of using DocBlocks on a class with respectful @method fields, but that just sounds bad 😖
Magic functions like
__call()
and__callStatic()
are used pretty often in the code, and because of them IDE cant get method names and their info.Examples of such functions can be:
I'm not really sure of the way to fix this, I only can think of using DocBlocks on a class with respectful
@method
fields, but that just sounds bad 😖