comment fixes
[civicrm-core.git] / CRM / Contact / StateMachine / Search.php
index 2b35e17f34588f87f1e2b8ce6fd5c3035899fd59..45aee4c3a242c7d53ba1b4605f0d109503169ab6 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
  */
 class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine {
 
@@ -42,9 +40,12 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine {
   protected $_task;
 
   /**
-   * Class constructor
+   * Class constructor.
+   *
+   * @param object $controller
+   * @param \const|int $action
    */
-  function __construct($controller, $action = CRM_Core_Action::NONE) {
+  public function __construct($controller, $action = CRM_Core_Action::NONE) {
     parent::__construct($controller, $action);
 
     $this->_pages = array();
@@ -114,7 +115,7 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine {
   }
 
   /**
-   * Return the form name of the task
+   * Return the form name of the task.
    *
    * @return string
    */
@@ -135,4 +136,5 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine {
   public function shouldReset() {
     return FALSE;
   }
+
 }