Merge pull request #4863 from totten/master-phpcbf4
[civicrm-core.git] / CRM / Core / BAO / ActionLog.php
index d57a53da1f5176bc7f42b86ae41a45bd3b2e2b63..649061455cbd93485907b4d338243c91bee6a1b3 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
    */
-  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;
   }
 }
-