-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which method should listed first? Get or set? #269
Comments
PhpStorm generates get first and set after, hence the term Getters and Setters. We should use this one by default for consistency. Not that it's that big of a deal :-P. |
Yes, I know this is not a big deal :D I just need some standard. Thanks for the reference. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For consistency, which method should we listed first,
get
orset
? For example,getStyle()
vssetStyle()
. Currently we mostly listedget
first, but there are exceptions, e.g. inElement\Text
. Thanks.The text was updated successfully, but these errors were encountered: