Merge pull request #4629 from systopia/CRM-15665
[civicrm-core.git] / CRM / Badge / BAO / Badge.php
index a86aef7c7f552654cfe7e5e5e32d280fab232e8d..cf0f1f97abd511ce2d461549dc14ca609d077737 100644 (file)
@@ -394,11 +394,10 @@ class CRM_Badge_BAO_Badge {
   }
 
   /**
-   * 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
@@ -408,7 +407,7 @@ class CRM_Badge_BAO_Badge {
     // 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) {