I have this class saved in foo.php

And then this class saved in bar.php

As you can see, auto-complete suggestions doesn’t work.
Note that if I place Bar class inside foo.php, it does work.
Auto-complete should work even on separate files as long as their in one project right?
BTW I am using Netbeans IDE 7.2
Found the answer myself:
A comment must be placed above the variable declaration