Merge pull request #4971 from kurund/batch-16
[civicrm-core.git] / CRM / Custom / Form / Preview.php
index 36a2d3e64d47388339fb51fbe3a747dd0676e096..92c867b7b585d39afc0d096fa568d9545e181ed6 100644 (file)
@@ -55,8 +55,6 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form {
    *
    * gets session variables for group or field id
    *
-   * @param null
-   *
    * @return void
    */
   public function preProcess() {
@@ -66,7 +64,7 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form {
     if ($this->_fieldId) {
       // field preview
       $defaults = array();
-      $params   = array('id' => $this->_fieldId);
+      $params = array('id' => $this->_fieldId);
       $fieldDAO = new CRM_Core_DAO_CustomField();
       CRM_Core_DAO::commonRetrieve('CRM_Core_DAO_CustomField', $params, $defaults);
 
@@ -94,9 +92,8 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form {
   /**
    * Set the default form values
    *
-   * @param null
-   *
-   * @return array   the default array reference
+   * @return array
+   *   the default array reference
    */
   public function setDefaultValues() {
     $defaults = array();
@@ -109,8 +106,6 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form {
   /**
    * Build the form object
    *
-   * @param null
-   *
    * @return void
    */
   public function buildQuickForm() {
@@ -132,4 +127,3 @@ class CRM_Custom_Form_Preview extends CRM_Core_Form {
     );
   }
 }
-