phpcs - Fix error, "Visibility must be declared on method"
[civicrm-core.git] / CRM / Event / Form / Task / Batch.php
index c35abc9497b5a230a0a69ef1f6c803edf6012aee..ddf0c8b67cfc026c4903572d93e6c3775bf2febe 100644 (file)
@@ -69,7 +69,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
    * @return void
    * @access public
    */
-  function preProcess() {
+  public function preProcess() {
    /*
     * initialize the task and row fields
     */
@@ -98,7 +98,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
    *
    * @return void
    */
-  function buildQuickForm() {
+  public function buildQuickForm() {
     $ufGroupId = $this->get('ufGroupId');
 
     if (!$ufGroupId) {
@@ -240,7 +240,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
    *
    * @return void
    */
-  function setDefaultValues() {
+  public function setDefaultValues() {
     if (empty($this->_fields)) {
       return;
     }
@@ -355,7 +355,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
    *
    * @return Ambigous|void
    */
-  static function updatePendingOnlineContribution($participantId, $statusId) {
+  public static function updatePendingOnlineContribution($participantId, $statusId) {
     if (!$participantId || !$statusId) {
       return;
     }