fluente spelling

Hello!

I have a model with several public methods.
These methods have

return $ this;

In the controller I want to call these methods in the fluents spelling.
For example.


----------- my controller -----------------

$namePdfRechnung = $model_pdf
                    ->setDaten($model_kundendatenUndBuchungsdaten)
                    ->setSchriften($fontTexte)
                    ->erstellenPdfSpalten()  // navigation don't work
                    ->setBuchungsnummer()
                    ->erstellenGrunddokument()
                    ->erstellenRechnungsblock()
                    ->erstellenInformationen()
                    ->speichernPdf(); // abspeichern Pdf



-------------------------------------

The Naviagtion in these methods with 'Ctrl' and 'mouseover'
works up to the 2nd Method. Who can help with information.

Sincerely yours

Stephan

4 comments

Hi there,

What version of PhpStorm do you use exactly (build number)?

Also -- do ALL of those methods have @return $this in PHPDoc (or what they have there)?

0

The build number is 5.0.2

Stephan

0

Please try v6 (especially latest EAP builds) -- there were big improvements/fixes made in this area.


P.S.
"5.0.2" is a version. Build number looks like 127.100 (v6), 124.240 (latest EAP of 6.0.1)

0

Please sign in to leave a comment.