phpcs - Fix error, "Expected 1 newline at end of file; XXX found".
[civicrm-core.git] / CRM / Contact / Form / Task / Map.php
index 10416281724fc8c7516846d42c2313770eaf77fd..9c18f98c78d0165789697f4396af514fedd48363 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -49,12 +49,11 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
   protected $_single = FALSE;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @return void
-   * @access public
    */
-  function preProcess() {
+  public function preProcess() {
     $cid = CRM_Utils_Request::retrieve('cid', 'Positive',
       $this, FALSE
     );
@@ -117,7 +116,6 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
   /**
    * Build the form object
    *
-   * @access public
    *
    * @return void
    */
@@ -133,16 +131,15 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
   }
 
   /**
-   * process the form after the input has been submitted and validated
+   * Process the form after the input has been submitted and validated
    *
-   * @access public
    *
    * @return void
    */
   public function postProcess() {}
 
   /**
-   * assign smarty variables to the template that will be used by google api to plot the contacts
+   * Assign smarty variables to the template that will be used by google api to plot the contacts
    *
    * @param $ids
    * @param int $locationId location_id
@@ -151,9 +148,8 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
    * @param string $type
    *
    * @return string           the location of the file we have created
-   * @access protected
    */
-  static function createMapXML($ids, $locationId, &$page, $addBreadCrumb, $type = 'Contact') {
+  public static function createMapXML($ids, $locationId, &$page, $addBreadCrumb, $type = 'Contact') {
     $config = CRM_Core_Config::singleton();
 
     CRM_Utils_System::setTitle(ts('Map Location(s)'));
@@ -244,4 +240,3 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task {
     $page->assign_by_ref('span', $span);
   }
 }
-