Merge pull request #14184 from mattwire/relationshipcolumns
[civicrm-core.git] / CRM / Contribute / Page / AJAX.php
index efe9bd4b4b12bd3a0192e2fa3ffaa5df5d491bd5..9cbfacdd6af3d7fcc16294591e545b91a7357e41 100644 (file)
  * This class contains all the function that are called using AJAX (jQuery)
  */
 class CRM_Contribute_Page_AJAX {
+
   /**
    * Get Soft credit to list in DT
    */
   public static function getSoftContributionRows() {
-    $requiredParameters = array(
+    $requiredParameters = [
       'cid' => 'Integer',
       'context' => 'String',
-    );
-    $optionalParameters = array(
+    ];
+    $optionalParameters = [
       'entityID' => 'Integer',
       'isTest' => 'Integer',
-    );
+    ];
 
     $params = CRM_Core_Page_AJAX::defaultSortAndPagerParams();
     $params += CRM_Core_Page_AJAX::validateParams($requiredParameters, $optionalParameters);