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:
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.
1 comment
Comment actions Permalink

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


Please sign in to leave a comment.