phpcs - Fix error, "Visibility must be declared on method"
[civicrm-core.git] / CRM / Event / Controller / Search.php
index 020d6df65435b95a0f524453aeb45fb19d74bf3c..0fd8410d021b3a98c9f72281bc2e4747ddd57d01 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Event_Controller_Search extends CRM_Core_Controller {
   /**
    * 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);