Problem with phpStorm recognizing methods inside more than 2 instances of a class
Hi guys,
New to phpStorm here.
Can i get phpStorm to recognize methods inside more than 2 instances of a class?
For example i have the following:
$app->session->session->test();
class->class->class->method();
Each class property gets the correct instace of a class and the code is working, but autocomplete stops working after $app->session->...
Any help will be appriciated.
请先登录再写评论。
Hi there,
It may depends on how session is declared (what type -- is it via PHPDoc or autodeducted; etc). It's hard to say without actual code (even basic one) to reproduce. If you can -- please provide such sample code (that can be easily copy-pasted).