- $this->addButtons(array(
- array(
- 'type' => 'next',
- 'name' => ts('Update Pending Status'),
- 'isDefault' => TRUE,
- ),
- array(
- 'type' => 'back',
- 'name' => ts('Cancel'),
- ),
- )
- );
-
- $this->addFormRule(array('CRM_Contribute_Form_Task_Status', 'formRule'));
+ $this->addButtons([
+ [
+ 'type' => 'next',
+ 'name' => ts('Update Pending Status'),
+ 'isDefault' => TRUE,
+ ],
+ [
+ 'type' => 'back',
+ 'name' => ts('Cancel'),
+ ],
+ ]);
+
+ $this->addFormRule(['CRM_Contribute_Form_Task_Status', 'formRule']);