X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FForm.php;h=745b0d7c66cbb9d1893dc5120304a82e1d7f67ec;hb=0d69fd8e79da60b18afdf94d299dea5feeb6d5e4;hp=7beab54f86d78c0df890efbb8e7cdfbf28478704;hpb=d2118be269bed42c1398dd8c4da996caeaed6006;p=civicrm-core.git diff --git a/CRM/Contribute/Form.php b/CRM/Contribute/Form.php index 7beab54f86..745b0d7c66 100644 --- a/CRM/Contribute/Form.php +++ b/CRM/Contribute/Form.php @@ -42,10 +42,10 @@ class CRM_Contribute_Form extends CRM_Admin_Form { * @return array */ public function setDefaultValues() { - $defaults = array(); + $defaults = []; if (isset($this->_id)) { - $params = array('id' => $this->_id); + $params = ['id' => $this->_id]; if (!empty($this->_BAOName)) { $baoName = $this->_BAOName; $baoName::retrieve($params, $defaults);