Fix: wrong function name
Cleaner example
Fix  from remark on https://github.com/Dolibarr/dolibarr/pull/1103