Why no autocompletion from other method same class ?


My methods are not found if I use my property in other function than "before()", where my object is created.

Why from another function (same class) "cannot find declaration to go to" ? the code wrks fine like that.

How can i config this please ?


1 comment
Comment actions Permalink

Hi there,

Please place the caret on that sepaBatchsOperations (where it does not work) and invoke "View | Quick Documentation" (Ctrl+Q here on Windows keymap) -- what it will show? Post a screenshot.

Right now I think the IDE does not know what type that is (as the assignment is made in another method). I suggest you typehint that variable using PHPDoc:

/** @var SepaBatchOperations */
private $sepaBatchsOperation;

Will it work OK now? It should.


Please sign in to leave a comment.