Remove duplicate code by adding type to function
Remove duplicate code by adding type to function
MikeyJC/SuiteCRM,willrennie/SuiteCRM,pgorod/SuiteCRM,daniel-samson/SuiteCRM,salesagility/SuiteCRM,samus-aran/SuiteCRM,noelhunter/SuiteCRM,Dillon-Brown/SuiteCRM,pribeiro42/SuiteCRM,horus68/SuiteCRM-Horus68,lionixevolve/SuiteCRM,pribeiro42/SuiteCRM,salesagility-davidthomson/SuiteCRM,gcoop-libre/SuiteCRM,horus68/SuiteCRM-Horus68,lionixevolve/LionixCRM,JimMackin/SuiteCRM,pribeiro42/SuiteCRM,lionixevolve/LionixCRM,willrennie/SuiteCRM,pgorod/SuiteCRM,noelhunter/SuiteCRM,cumanacr/SuiteCRM,gody01/SuiteCRM,ChangezKhan/SuiteCRM,ChangezKhan/SuiteCRM,gcoop-libre/SuiteCRM,lionixevolve/SuiteCRM,pgorod/SuiteCRM,Dillon-Brown/SuiteCRM,salesagility/SuiteCRM,JanSiero/SuiteCRM,daniel-samson/SuiteCRM,cumanacr/SuiteCRM,horus68/SuiteCRM-Horus68,horus68/SuiteCRM-Horus68,lionixevolve/LionixCRM,Dillon-Brown/SuiteCRM,dfstrauss/SuiteCRM,lionixevolve/SuiteCRM,noelhunter/SuiteCRM,JanSiero/SuiteCRM,gcoop-libre/SuiteCRM,Dillon-Brown/SuiteCRM,lionixevolve/SuiteCRM,daniel-samson/SuiteCRM,ChangezKhan/SuiteCRM,lionixevolve/LionixCRM,MikeyJC/SuiteCRM,pgorod/SuiteCRM,salesagility-davidthomson/SuiteCRM,cumanacr/SuiteCRM,willrennie/SuiteCRM,willrennie/SuiteCRM,gody01/SuiteCRM,dfstrauss/SuiteCRM,salesagility/SuiteCRM,noelhunter/SuiteCRM,MikeyJC/SuiteCRM,samus-aran/SuiteCRM,gody01/SuiteCRM,samus-aran/SuiteCRM,daniel-samson/SuiteCRM,JimMackin/SuiteCRM,gcoop-libre/SuiteCRM,MikeyJC/SuiteCRM,gody01/SuiteCRM,samus-aran/SuiteCRM,JanSiero/SuiteCRM,JimMackin/SuiteCRM,JimMackin/SuiteCRM,ChangezKhan/SuiteCRM,salesagility/SuiteCRM,salesagility-davidthomson/SuiteCRM,lionixevolve/LionixCRM,pribeiro42/SuiteCRM,cumanacr/SuiteCRM,lionixevolve/LionixCRM,dfstrauss/SuiteCRM,JanSiero/SuiteCRM,dfstrauss/SuiteCRM,salesagility-davidthomson/SuiteCRM