phpcs - Fix error, "Visibility must be declared on method"
[civicrm-core.git] / CRM / Event / Controller / Search.php
index 2fdd7bcf00bc43131e7659657f99f429fde5ac12..0fd8410d021b3a98c9f72281bc2e4747ddd57d01 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -47,9 +47,9 @@
 class CRM_Event_Controller_Search extends CRM_Core_Controller {
 
   /**
-   * class constructor
+   * Class constructor
    */
-  function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
+  public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
 
     parent::__construct($title, $modal);