INFRA-132 - CRM/PCP - phpcbf
[civicrm-core.git] / CRM / Pledge / Form / Task.php
index 611e303776f3d49141cc04abb1a37c048aa2f9c4..1704a2af2e36b2833d1d17767548a223e2bd9da5 100644 (file)
@@ -73,9 +73,8 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form {
    * @param
    *
    * @return void
-   * @access public
    */
-  function preProcess() {
+  public function preProcess() {
     self::preProcessCommon($this);
   }
 
@@ -83,7 +82,7 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form {
    * @param CRM_Core_Form $form
    * @param bool $useTable
    */
-  static function preProcessCommon(&$form, $useTable = FALSE) {
+  public static function preProcessCommon(&$form, $useTable = FALSE) {
     $form->_pledgeIds = array();
 
     $values = $form->controller->exportValues('Search');
@@ -150,16 +149,16 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form {
    * 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 $title
+   *   Title of the main button.
    * @param string $nextType
    * @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,
@@ -174,4 +173,3 @@ class CRM_Pledge_Form_Task extends CRM_Core_Form {
     );
   }
 }
-