phpcs - Fix error, "Expected 1 newline at end of file; XXX found".
[civicrm-core.git] / CRM / Campaign / Form / Task.php
index 7f7e209bea66f45a119e78a07ffe85bec3e2657c..d6dc9302040cdce9712893f5c55a6cc98e70dfa9 100755 (executable)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -47,7 +47,7 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
   protected $_componentClause = NULL;
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -75,12 +75,11 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
   protected $_voterIds;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
    * @return void
-   * @access public
    */ function preProcess() {
     $values = $this->controller->exportValues('Search');
 
@@ -132,16 +131,17 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
   }
 
   /**
-   * simple shell that derived classes can call to add buttons to
+   * Simple shell that derived classes can call to add buttons to
    * the form with a customized title for the main Submit
    *
    * @param string $title title of the main button
-   * @param string $type  button type for the form after processing
+   * @param string $nextType button type for the form after processing
+   * @param string $backType
+   * @param bool $submitOnce
    *
    * @return void
-   * @access public
    */
-  function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
+  public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
     $this->addButtons(array(
         array(
           'type' => $nextType,
@@ -156,4 +156,3 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
     );
   }
 }
-