Merge pull request #7970 from otetard/CRM-18235
[civicrm-core.git] / CRM / Event / Badge.php
index 4f70438792cef00cdb56297b44377c651bb8d0af..e0b9b3542a0aa1ec4dd926051a5d7e524ec07bb4 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -32,7 +32,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2016
  * $Id$
  *
  */
@@ -75,12 +75,11 @@ class CRM_Event_Badge {
   }
 
   /**
-   * Create the labels (pdf)
+   * Create the labels (pdf).
+   *
    * It assumes the participants are from the same event
    *
    * @param array $participants
-   *
-   * @return;
    */
   public function run(&$participants) {
     // fetch the 1st participant, and take her event to retrieve its attributes
@@ -171,7 +170,9 @@ class CRM_Event_Badge {
   }
 
   /**
-   * This is supposed to be overrided.
+   * This is supposed to be overridden.
+   *
+   * @param array $participant
    */
   public function generateLabel($participant) {
     $txt = "{$this->event['title']}
@@ -185,11 +186,9 @@ class CRM_Event_Badge {
   }
 
   /**
-   * Create labels (pdf)
+   * Create labels (pdf).
    *
    * @param array $participants
-   *
-   * @return;
    */
   public function createLabels(&$participants) {