core icon indicating copy to clipboard operation
core copied to clipboard

PHPDoc comment in MessageOriginChat mislead to wrong getter getChat().

Open r3bers opened this issue 1 year ago • 2 comments

Factory creates getter getSender_chat() because property name sender_chat in MessageOriginChat

? !
Type bug
BC Break yes / no
Fixed issues New.

Summary

Just simple quick fix because PHPDoc Comment was the same to MessageOriginChat and MessageOriginChannel but properties isn't

r3bers avatar Jun 25 '24 13:06 r3bers

It should be getSenderChat(). The snake case field names get converted to PascalCase.

Could you adjust it accordingly, please?

TiiFuchs avatar Jun 25 '24 15:06 TiiFuchs

Oh Sorry, my bad. Too much python for today. Pushed getSenderChat()

r3bers avatar Jun 25 '24 16:06 r3bers