phpcs - Fix error, "Expected 1 newline at end of file; XXX found".
[civicrm-core.git] / CRM / Contact / Page / CustomSearch.php
index 472c1879c0cd0677cc60c3ea4793e897b3bc4b69..80875354d74387e5129c32ee9deed2404389dc52 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -47,6 +47,9 @@ class CRM_Contact_Page_CustomSearch extends CRM_Core_Page {
    */
   static $_links = NULL;
 
+  /**
+   * @return array
+   */
   public static function &info() {
     $sql = "
 SELECT v.value, v.label, v.description
@@ -79,18 +82,18 @@ ORDER By  v.weight
    * @return content of the parents run method
    *
    */
-  function browse() {
+  public function browse() {
     $rows = self::info();
     $this->assign('rows', $rows);
     return parent::run();
   }
 
   /**
-   * run this page (figure out the action needed and perform it).
+   * Run this page (figure out the action needed and perform it).
    *
    * @return void
    */
-  function run() {
+  public function run() {
     $action = CRM_Utils_Request::retrieve('action',
       'String',
       $this, FALSE, 'browse'
@@ -100,4 +103,3 @@ ORDER By  v.weight
     return $this->browse();
   }
 }
-