htdocs/core/class/commonobject.class.php 1032 Method CommonObject::getLastMainDocLink() should return string but returns int.
htdocs/core/class/commonobject.class.php 1550 Method CommonObject::liste_type_contact() should return array but returns null.
htdocs/core/class/commonobject.class.php 1638 Method CommonObject::listeTypeContacts() should return array but returns null.
htdocs/core/class/commonobject.class.php 1708 Method CommonObject::getIdContact() should return array but returns null.
htdocs/core/class/commonobject.class.php 2011 Method CommonObject::fetchObjectFrom() should return int but returns false.
htdocs/core/class/commonobject.class.php 2891 Property CommonObject::$retained_warranty_fk_cond_reglement (string) does not accept int.
htdocs/core/class/commonobject.class.php 4868 Method CommonObject::getTotalDiscount() should return float|string but returns null.
htdocs/core/class/commonobject.class.php 9557 Property CommonObject::$ref (string) does not accept int.
htdocs/core/class/commonobject.class.php 10407 Method CommonObject::fetchComments() should return bool but returns int.
htdocs/core/class/commonobject.class.php 10411 Method CommonObject::fetchComments() should return bool but returns int<0, max>.
# Qual: Fix translation keys
Modify some translation keys so that they correspond to each other,
use an existing key or fix the contents as it's not translated yet.
# Qual: Fix spelling for crypted and referer.
The proper spelling is encrypted and referrer, but the code has
some occurences where referer and crypted need to be maintained.
To make verification easier, this spelling correction is limited to
mostly these corrections and some minor translations and a only a
few other corrections.
crypted and referer are added as exceptions for spelling after this fix.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
# Qual: Fix spelling in commonobject.class.php.
Most corrections are in comments.
Variable was changed to and is local to the file.
Some comments were translated.
Variable was changed to , used locally.