minor tidy ups
[civicrm-core.git] / CRM / Group / Controller.php
index 2e359ebfaa1e9db17e3fab5092d58fd1f187ace5..304333ab456e64e78483883cccf0fd0b5164ff62 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -35,9 +35,9 @@
 class CRM_Group_Controller 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);
 
     $this->_stateMachine = new CRM_Group_StateMachine($this, $action);
@@ -68,12 +68,17 @@ class CRM_Group_Controller extends CRM_Core_Controller {
     $this->addActions($uploadDir, $uploadNames);
   }
 
-  function run() {
+  /**
+   * @return mixed
+   */
+  public function run() {
     return parent::run();
   }
 
+  /**
+   * @return mixed
+   */
   public function selectorName() {
     return $this->get('selectorName');
   }
 }
-