Merge pull request #13689 from eileenmcnaughton/no_record_payment
[civicrm-core.git] / CRM / Contribute / Form / Task / Result.php
index 27f98f1647e2dd996612c34c19807c9f94818c28..11ff679294d5b46e40b5c4e80d4cd027a8abc75a 100644 (file)
@@ -46,14 +46,13 @@ class CRM_Contribute_Form_Task_Result extends CRM_Contribute_Form_Task {
    * Build the form object.
    */
   public function buildQuickForm() {
-    $this->addButtons(array(
-        array(
-          'type' => 'done',
-          'name' => ts('Done'),
-          'isDefault' => TRUE,
-        ),
-      )
-    );
+    $this->addButtons([
+      [
+        'type' => 'done',
+        'name' => ts('Done'),
+        'isDefault' => TRUE,
+      ],
+    ]);
   }
 
 }