Code comment
This commit is contained in:
parent
4584fa1aa6
commit
75cd7d7e72
@ -54,8 +54,8 @@ abstract class CommonObjectLine extends CommonObject
|
||||
* Returns the translation key from units dictionary.
|
||||
* A langs->trans() must be called on result to get translated value.
|
||||
*
|
||||
* @param string $type Label type (long or short)
|
||||
* @return string|int <0 if ko, label if ok
|
||||
* @param string $type Label type (long or short). This can be a translation key.
|
||||
* @return string|int <0 if ko, label if ok
|
||||
*/
|
||||
public function getLabelOfUnit($type = 'long')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user