}
/**
- * function to build badges parameters before actually creating badges.
+ * Build badges parameters before actually creating badges.
*
* @param array $params associated array of submitted values
- * @param $form
- * @params object $form form/controller object
+ * @param CRM_Core_Form $form
*
* @return void
* @access public
// get name badge layout info
$layoutInfo = CRM_Badge_BAO_Layout::buildLayout($params);
- // spit / get actual field names from tokeni and individual contact image URLs
+ // split/get actual field names from token and individual contact image URLs
$returnProperties = array();
if (!empty($layoutInfo['data']['token'])) {
foreach ($layoutInfo['data']['token'] as $index => $value) {