Merge pull request #4887 from pratikshad/broken-webtest
[civicrm-core.git] / CRM / Core / BAO / ActionLog.php
index d57a53da1f5176bc7f42b86ae41a45bd3b2e2b63..a3740e591cdf5188fa8cf27ad2487135fc768f60 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright (C) 2011 Marty Wright                                    |
  | Licensed to CiviCRM under the Academic Free License version 3.0.   |
@@ -42,12 +42,11 @@ class CRM_Core_BAO_ActionLog extends CRM_Core_DAO_ActionLog {
   /**
    * Create or update an action log entry
    *
-   * @param $params
+   * @param array $params
    *
-   * @return actionLog array
-   * @access public
+   * @return array
    */
-  static function create($params) {
+  public static function create($params) {
     $actionLog = new CRM_Core_DAO_ActionLog();
 
     $params['action_date_time'] = CRM_Utils_Array::value('action_date_time', $params, date('YmdHis'));
@@ -74,4 +73,3 @@ class CRM_Core_BAO_ActionLog extends CRM_Core_DAO_ActionLog {
     return $actionLog;
   }
 }
-