The description for TermInterface::setWeight() is the following.
Gets the weight of this term.
Since it's a setter method, it doesn't get but it sets.
I would rather replace that description with the following one.
Sets the term weight.
It's not even necessary to say this term, since there is a single parameter, and that is not a term object.
The description of other methods doesn't write ID correctly (it's written in lowercase characters), and other descriptions use a not necessarily verbose description. (The term name should be preferable over the name of the term.) It's not even necessary to use the possessive, since nouns can be used as attributive of other nouns (as in the family house).
Comments
Comment #2
avpadernoComment #3
avpadernoComment #4
avpadernoComment #5
foxtrotcharlie commentedNice work. One thing missing that I noticed:
Should be "Sets the term weight." instead of "Gets the term weight."
Comment #6
volkswagenchicktagging for badcamp 2018
Comment #7
msankhala commentedComment #8
avpaderno@foxtrotcharlie Whoops, I indeed missed that. The new patch fixes that too.
Comment #9
borisson_This makes sense!
Comment #10
catchCommitted 4052d65 and pushed to 8.7.x. Thanks!