INFRA-132 - Cleanup stray comments
[civicrm-core.git] / CRM / Contribute / Form / Task / Invoice.php
index 73b30e31c6008d247e9a07f7f1f541880c8c3297..b95eb6f0312e7b8d4aa9812dce7524ee70f50ad6 100644 (file)
@@ -209,7 +209,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
    *
    * @return array
    *   list of errors to be posted back to the form
-   * @static
    */
   public static function formRule($values) {
     $errors = array();
@@ -233,8 +232,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
-   *
-   * process the PDf and email with activity and attachment
+   * Process the PDf and email with activity and attachment
    * on click of Print Invoices
    *
    * @param array $contribIDs
@@ -245,7 +243,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
    *   Contact Id.
    * @param CRM_Core_Form $form
    *   Form object.
-   * @static
    */
   public static function printPDF($contribIDs, &$params, $contactIds, &$form) {
     // get all the details needed to generate a invoice
@@ -575,9 +572,7 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
-   *
-   * This function is use for adding activity for
-   * Email Invoice and the PDF Invoice
+   * Add activity for Email Invoice and the PDF Invoice
    *
    * @param string $subject
    *   Activity subject.
@@ -588,7 +583,6 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
    * @param array $params
    *   For invoices.
    *
-   * @static
    */
   static public function addActivities($subject, $contactIds, $fileName, $params) {
     $session = CRM_Core_Session::singleton();
@@ -626,16 +620,13 @@ class CRM_Contribute_Form_Task_Invoice extends CRM_Contribute_Form_Task {
   }
 
   /**
+   * Create the Invoice file in upload folder for attachment
    *
-   * This function is use for creating the Invoice file in upload folder
-   * for attachment
-   *
-   * @param $html
+   * @param string $html
    *   Content for pdf in html format.
    *
-   * return $fileName of file which is in pdf format
-   *
    * @return string
+   *   Name of file which is in pdf format
    */
   static public function putFile($html) {
     require_once "packages/dompdf/dompdf_config.inc.php";