* Subroutine to insert a Profile Editor widget.
* depends on getProfileSelectorTypes
*
- * @param array &$form
+ * @param \CRM_Core_Form &$form
* @param int $count
* Unique index.
* @param string $prefix
* Build Email Block.
*
* @param CRM_Core_Form $form
- *
*/
public function buildMailBlock(&$form) {
$form->registerRule('emailList', 'callback', 'emailList', 'CRM_Utils_Rule');
/**
* Add local and global form rules.
*
- *
* @return void
*/
public function addRules() {
* Collect all email fields for an array of profile ids.
*
* @param $profileIds
- * @return bool
+ * @return array
*/
public static function getEmailFields($profileIds) {
$emailFields = [];
/**
* Process the form submission.
*
- *
* @return void
*/
public function postProcess() {