A......... [ZBX-8448] re-factored code in CHostGroup validate<Method>s to accept one $data parameter instead of multiple parameters; slightly change the code so that validateHostsPermissions() function can be used for templates as well and removed validateTemplatesPermissions() function; removed @return void in PHP docs.