No chaining of Functions anymore?

Hi,

most of my setters return $this; So I can chain them, like:

(new Class)

->setValue("value", 1)

->setValue("value2", 2)

->setValue("value3", 3)

->setValue("value4", 4)

->saveClass(); [all just an example ;)]

Worked out all very good...till last Update or so...after call 3/4 the return value is just ignored...I can't call the next one with str-click and it is underlined as warning...unknown function. :(

Not an big issue, but it feels like I've lost some comfort.

Thank you,

Michael

 

 

2 comments
Comment actions Permalink

Hi, this is still not addressed: https://youtrack.jetbrains.com/issue/WI-28091

Hoping to get it resolved in nearest future.

0
Comment actions Permalink

Hm...strange...thought it worked before the last Update... :D

But thanks for your answer.

 

0

Please sign in to leave a comment.